[llvm-bugs] [Bug 41303] New: [AMDGPU][MC] Assembler provides insufficient information when syntax errors occur

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Mar 29 07:23:33 PDT 2019


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

            Bug ID: 41303
           Summary: [AMDGPU][MC] Assembler provides insufficient
                    information when syntax errors occur
           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

In most cases assembler provides no explanations in case of syntax errors. The
error message is either "failed parsing operand" or "not a valid operand".
Error messages should be more informative.

Examples:

  // not a valid operand
  s_mov_b32 s1, s104

  // not a valid operand
  s_mov_b64 s[0:1], s[3:4]

  // failed parsing operand
  s_waitcnt vmcnt 9

-- 
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/20190329/6f582587/attachment.html>


More information about the llvm-bugs mailing list