https://bugs.llvm.org/show_bug.cgi?id=36000

            Bug ID: 36000
           Summary: [AMDGPU][MC] Image dst/data size must match dmask and
                    tfe
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedb...@nondot.org
          Reporter: dpreobrazhen...@luxoft.com
                CC: llvm-bugs@lists.llvm.org

Currently assembler does not check that specified dst/data size matches dmask
and tfe. For example, the following code should fail to assemble:

    image_load    v[4:6], v[237:240], s[28:35] dmask:0x1
    image_load    v[4:5], v[237:240], s[28:35] dmask:0x7
    image_load    v[4:6], v[237:240], s[28:35] dmask:0x1 tfe

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to