https://bugs.llvm.org/show_bug.cgi?id=37943
Bug ID: 37943
Summary: [AMDGPU][MC] Invalid SGPR size does not trigger an
error
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]
The following instruction is incorrect because src0 should be a 64-bit operand:
v_cmp_eq_f64 s[0:1], s2, v[1:2] // assembled ok
However it is assembled without errors. A correct opcode looks as follows:
v_cmp_eq_f64 s[0:1], s[2:3], v[1:2]
Both variants are assembled ok and produce the same (valid) code.
--
You are receiving this mail because:
You are on the CC list for the bug._______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs