[llvm-bugs] [Bug 48884] New: [AMDGPU][MC] Parser may report an incorrect error position when there is no custom handler
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 26 06:50:13 PST 2021
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: unassignedbugs at nondot.org
Reporter: dpreobrazhensky at luxoft.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210126/c32abc6f/attachment.html>
More information about the llvm-bugs
mailing list