[llvm-bugs] [Bug 37943] New: [AMDGPU][MC] Invalid SGPR size does not trigger an error
llvm-bugs at lists.llvm.org
Tue Jun 26 06:27:06 PDT 2018
Bug ID: 37943
Summary: [AMDGPU][MC] Invalid SGPR size does not trigger an
Component: Backend: AMDGPU
Assignee: unassignedbugs at nondot.org
Reporter: dpreobrazhensky at luxoft.com
CC: llvm-bugs at lists.llvm.org
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-bugs