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: unassignedb...@nondot.org
          Reporter: m...@dylanmckay.io
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to