[llvm-bugs] [Bug 49054] New: [AMDGPU][MC][GFX10] Incorrect error position for invalid dim modifier

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Feb 5 04:02:54 PST 2021


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

            Bug ID: 49054
           Summary: [AMDGPU][MC][GFX10] Incorrect error position for
                    invalid dim modifier
           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

Invalid value of dim modifier may result in an incorrect error position.

An example:

    image_load v[0:1], v0, s[0:7] dmask:0x9 dim:1 D

The output is:

    error: failed parsing operand.
    image_load v[0:1], v0, s[0:7] dmask:0x9 dim:1 D
                                                  ^

Originally submitted as bug 48883

-- 
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/20210205/e709144e/attachment.html>


More information about the llvm-bugs mailing list