[llvm-bugs] [Bug 33031] New: Cannot scavenge register without an emergency spill slot!

via llvm-bugs llvm-bugs at lists.llvm.org
Fri May 12 17:45:09 PDT 2017


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

            Bug ID: 33031
           Summary: Cannot scavenge register without an emergency spill
                    slot!
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: kongy.dev at gmail.com
                CC: llvm-bugs at lists.llvm.org

$ llc Math_bad.ll -debug
...

**** Analysing bbs_matMultiplyTranspFlt16
Look into: 0 entry
Look into: 1 for.body.lr.ph
Look into: 2 for.body
Look into: 25 
Look into: 3 for.body6.preheader
Look into: 4 for.body6
Look into: 5 
Look into: 6 for.body11.preheader
Look into: 7 
Look into: 8 min.iters.checked
Look into: 9 
Look into: 10 vector.body.preheader
Look into: 11 vector.body
Use or define CSR(1) or FI(0): %X19<def> = SUBXri %X6, 64, 0

No Shrink wrap candidate found
*** determineCalleeSaves
Used CSRs: %D8 %D9 %D10 %D11 %D12 %X19 %X20 %X21
Estimated stack frame size: 128 bytes.
CSR spill: (D12) -> fi#(9)
CSR spill: (D10, D11) -> fi#(7, 8)
CSR spill: (D8, D9) -> fi#(5, 6)
CSR spill: (X21) -> fi#(4)
CSR spill: (X19, X20) -> fi#(2, 3)
CSR restore: (X19, X20) -> fi#(2, 3)
CSR restore: (X21) -> fi#(4)
CSR restore: (D8, D9) -> fi#(5, 6)
CSR restore: (D10, D11) -> fi#(7, 8)
CSR restore: (D12) -> fi#(9)
alloc FI(2) at SP[-8]
alloc FI(3) at SP[-16]
alloc FI(4) at SP[-24]
alloc FI(5) at SP[-32]
alloc FI(6) at SP[-40]
alloc FI(7) at SP[-48]
alloc FI(8) at SP[-56]
alloc FI(9) at SP[-64]
alloc FI(0) at SP[-96]
alloc FI(1) at SP[-128]
Scavenged register: X21
LLVM ERROR: Error while trying to spill FP from class GPR64: Cannot scavenge
register without an emergency spill slot!

-- 
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/20170513/ac795f99/attachment.html>


More information about the llvm-bugs mailing list