[llvm-bugs] [Bug 30829] New: [mc][gfx8] No checks for ADDC/SUBB/V_CNDMASK source operand restrictions

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 28 11:17:34 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=30829

            Bug ID: 30829
           Summary: [mc][gfx8] No checks for ADDC/SUBB/V_CNDMASK source
                    operand restrictions
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AMDGPU
          Assignee: artem.tamazov at amd.com
          Reporter: i.am.perminov at gmail.com
                CC: andrey.kasaurov at gmail.com, artem.tamazov at amd.com,
                    i.am.perminov at gmail.com, llvm-bugs at lists.llvm.org,
                    nikolay.haustov at amd.com, sam.kolton at amd.com,
                    valery.pykhtin at gmail.com
    Classification: Unclassified

SGPR, M0, EXEC or literal constant are not allowed for ADDC/SUBB/V_CNDMASK
instructions. Still assembler allows illegal encodings like:

v_addc_u32 v40, vcc, s49, 0, vcc

-- 
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/20161028/5488b89d/attachment.html>


More information about the llvm-bugs mailing list