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: [email protected]
          Reporter: [email protected]
                CC: [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to