[llvm-bugs] [Bug 40820] New: [AMDGPU][MC] Unclear limitations on use of expressions
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Feb 22 08:15:54 PST 2019
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: unassignedbugs at nondot.org
Reporter: dpreobrazhensky at luxoft.com
CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190222/f7dccb4e/attachment.html>
More information about the llvm-bugs
mailing list