[llvm-bugs] [Bug 40388] New: Fix the pointer register class used by LDWRdPtr from PTRREGS to PTRDISPREGS

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Jan 20 23:19:25 PST 2019


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

            Bug ID: 40388
           Summary: Fix the pointer register class used by LDWRdPtr from
                    PTRREGS to PTRDISPREGS
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: AVR
          Assignee: unassignedbugs at nondot.org
          Reporter: me at dylanmckay.io
                CC: llvm-bugs at lists.llvm.org

LDWRdPtr expands to LDDRdPtrQ, which requires a PTRDISPREGS class. This means
that if the X register is ever allocated, the LDDRdPtrQ will be an illegal
instruction and will hit an assertion error at machine code generation time.

-- 
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/20190121/1dcebcb1/attachment.html>


More information about the llvm-bugs mailing list