[llvm-bugs] [Bug 35730] New: [AMDGPU][MC] Incorrect parsing of flat/global atomic modifiers
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Dec 22 05:59:59 PST 2017
https://bugs.llvm.org/show_bug.cgi?id=35730
Bug ID: 35730
Summary: [AMDGPU][MC] Incorrect parsing of flat/global atomic
modifiers
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
flat/global atomic modifiers are parsed incorrectly. As a result, some valid
combinations of modifiers are not accepted.
An example of a failed test:
flat_atomic_cmpswap v0, v[1:2], v[2:3] glc slc
The reason for this failure is that current design assumes that all operands
after first optional operand are also optional. However implementation of
flat/global atomic instructions breaks this rule: 'glc' is a mandatory modifier
which follows an optional 'offset'.
--
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/20171222/a052017a/attachment.html>
More information about the llvm-bugs
mailing list