https://bugs.llvm.org/show_bug.cgi?id=40820
Bug ID: 40820
Summary: [AMDGPU][MC] Unclear limitations on use of expressions
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
Most assembler constructs allow use of expressions, however in many cases there
is an unclear limitation: an expression must start with a number.
Examples:
set x = 3
s_getreg_b32 s2, hwreg(10 + x) // ok
s_getreg_b32 s2, hwreg(x + 10) // error
Full list of parser functions which enforce this limitation:
- parseHwreg
- parseSendMsgOp
- parseSWaitCntOps
- parseSOppBrTarget
- parseIntWithPrefix
- parseOperandArrayWithPrefix
- parseOModOperand
- parseDfmtNfmt
--
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