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: unassignedb...@nondot.org
Reporter: dpreobrazhen...@luxoft.com
CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs