[LLVMbugs] [Bug 13945] New: PBQP Assertion Failure "Attempting to spill already spilled value"

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Sep 27 08:50:21 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=13945

             Bug #: 13945
           Summary: PBQP Assertion Failure "Attempting to spill already
                    spilled value"
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: willdtz at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


When trying to use PBQP (is there a reason I can't invoke it from clang/opt
like I can greedy/fast?), I'm getting the mentioned assertion failure for
pretty much any code I throw at it.

Example:

$ cat empty.cpp
int main(int argc, char ** argv) {
  return 0;
}

$ clang empty.cpp -o empty.bc -emit-llvm -c
$ llc empty.o -o empty -regalloc=pbqp
llc: /home/wdietz2/llvm/32-src/lib/CodeGen/InlineSpiller.cpp:1283: virtual void
<anonymous namespace>::InlineSpiller::spill(llvm::LiveRangeEdit &): Assertion
`edit.getParent().isSpillable() && "Attempting to spill already spilled
value."' failed.
Stack dump:
0.    Program arguments: llc empty.o -o empty -regalloc=pbqp
-debug-pass=Executions 
1.    Running pass 'Function Pass Manager' on module 'empty.o'.
2.    Running pass 'PBQP Register Allocator' on function '@main'


FWIW there was a thread for a similar failure[1] but it didn't seem to ever be
resolved.

[1] http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-March/048421.html

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list