[llvm-bugs] [Bug 48241] New: [AMDGPU][MC][GFX10] Too generic error message for missing 'dim' operand

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 20 03:16:21 PST 2020


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

            Bug ID: 48241
           Summary: [AMDGPU][MC][GFX10] Too generic error message for
                    missing 'dim' operand
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AMDGPU
          Assignee: unassignedbugs at nondot.org
          Reporter: dpreobrazhensky at luxoft.com
                CC: llvm-bugs at lists.llvm.org

GFX10 requires that all MIMG instructions specify a dim operand. However when
the operand is missing assembler does not report the issue but says that
"operands are not valid for this GPU or mode". This should be corrected.

AN example:

    image_load v[0:3], v0, s[0:7] dmask:0xf unorm

    error: operands are not valid for this GPU or mode

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201120/24701efe/attachment-0001.html>


More information about the llvm-bugs mailing list