[llvm-bugs] [Bug 38224] New: Remove register allocator bug workaround

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 19 07:24:45 PDT 2018


            Bug ID: 38224
           Summary: Remove register allocator bug workaround
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            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

The register allocator does not handle certain functions that use the
'LDDWRdPtrQ' instructions which have high register pressure.

The error message is:

LLVM ERROR: ran out of registers during register allocation

In order to work around this, we restricted the allowable registers of
LDDWRdPtrQ to disallow Z.

First noticed in https://github.com/avr-rust/rust/issues/37

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/20180719/9d7a2442/attachment.html>

More information about the llvm-bugs mailing list