[llvm-bugs] [Bug 37943] New: [AMDGPU][MC] Invalid SGPR size does not trigger an error

via llvm-bugs 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
           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

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...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180626/51efd2d0/attachment-0001.html>

More information about the llvm-bugs mailing list