[LLVMbugs] [Bug 7066] New: local register allocator fails on inline asm
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu May 6 00:31:41 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7066
Summary: local register allocator fails on inline asm
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nicholas at mxc.ca
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=4838)
--> (http://llvm.org/bugs/attachment.cgi?id=4838)
testcase .ll
$ llc -regalloc=local c.ll
llc: RegAllocLocal.cpp:348:
void<unnamed>::RALocal::spillPhysReg(llvm::MachineBasicBlock&,
llvm::MachineInstr*, unsigned int, bool): Assertion `PhysRegsUsed[PhysReg] !=
-2 && "Non allocable reg used!"' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff6ef6095 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00007ffff6ef6095 in raise () from /lib/libc.so.6
#1 0x00007ffff6ef7af0 in abort () from /lib/libc.so.6
#2 0x00007ffff6eef2df in __assert_fail () from /lib/libc.so.6
#3 0x0000000000edf818 in spillPhysReg (this=0x18aca20, MBB=..., I=0x18c7308,
PhysReg=116, OnlyVirtRegs=true) at RegAllocLocal.cpp:348
#4 0x0000000000ee0797 in AllocateBasicBlock (this=0x18aca20, MBB=...)
at RegAllocLocal.cpp:852
#5 0x0000000000ee223b in runOnMachineFunction (this=0x18aca20, Fn=...)
at RegAllocLocal.cpp:1208
#6 0x0000000000e91a71 in llvm::MachineFunctionPass::runOnFunction (
this=0x18aca20, F=...) at MachineFunctionPass.cpp:33
#7 0x000000000117efc0 in llvm::FPPassManager::runOnFunction (this=0x188ba80,
F=...) at PassManager.cpp:1418
#8 0x00000000011804f5 in llvm::FunctionPassManagerImpl::run (this=0x188f480,
F=...) at PassManager.cpp:1369
#9 0x00000000011806b4 in llvm::FunctionPassManager::run (this=0x7fffffffe5f0,
F=...) at PassManager.cpp:1299
#10 0x0000000000986539 in main (argc=3, argv=0x7fffffffe868) at llc.cpp:378
--
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