[llvm-bugs] [Bug 48171] New: [AMDGPU][MC] Incorrect error position for hwreg() and sendmsg() operands

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 13 08:50:36 PST 2020


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

            Bug ID: 48171
           Summary: [AMDGPU][MC] Incorrect error position for hwreg() and
                    sendmsg() operands
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            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

An example of incorrect error position:

Test:
    s_sendmsg sendmsg(MSG_GS_DONE, GS_OP_NOP, 0)

Result:
    _test.s:6:11: error: message operation does not support streams
    s_sendmsg sendmsg(MSG_GS_DONE, GS_OP_NOP, 0)
              ^

Test:
    s_setreg_b32  hwreg(3,0,33), s2

Result:
    _test.s:6:15: error: invalid bitfield width: only values from 1 to 32 are
legal
    s_setreg_b32  hwreg(3,0,33), s2
                  ^

-- 
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/20201113/60064aec/attachment-0001.html>


More information about the llvm-bugs mailing list