https://bugs.llvm.org/show_bug.cgi?id=48884
Bug ID: 48884
Summary: [AMDGPU][MC] Parser may report an incorrect error
position when there is no custom handler
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AMDGPU
Assignee: unassignedb...@nondot.org
Reporter: dpreobrazhen...@luxoft.com
CC: llvm-bugs@lists.llvm.org
Parser may report an incorrect error position by skipping a comma. This bug
manifests itself only in cases when there is no custom errors handler.
For example, assembling an instruction
image_atomic_xor v4, v32, s[96:103] dmask:0x1 dim:, glc
results in the following error message:
error: failed parsing operand
image_atomic_xor v4, v32, s[96:103] dmask:0x1 dim:, glc
^
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs