https://bugs.llvm.org/show_bug.cgi?id=40903
Bug ID: 40903
Summary: [AMDGPU][MC][GFX7][GFX8] src0 of v_movrelsd_b32 should
accept vgprs only
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: AMDGPU
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
In contrast with other 'movrels' opcodes, v_movrelsd_b32 accepts an
sgpr/constant as src0. This is incorrect. These operands are not supported by
SP3 for v_movrelsd_b32.
Compare:
v_movrels_b32 v0, v0 // ok
v_movrels_b32 v0, s0 // error
v_movrels_b32 v0, 0 // error
v_movrelsd_b32 v0, v0 // ok
v_movrelsd_b32 v0, s0 // ok (but should trigger an error)
v_movrelsd_b32 v0, 0 // ok (but should trigger an error)
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs