[LLVMbugs] [Bug 12892] New: RegisterCoalescer crash during selfhost on i386
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat May 19 15:37:04 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=12892
Bug #: 12892
Summary: RegisterCoalescer crash during selfhost on i386
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: benny.kra at gmail.com
CC: llvmbugs at cs.uiuc.edu, stoklund at 2pi.dk
Classification: Unclassified
Created attachment 8597
--> http://llvm.org/bugs/attachment.cgi?id=8597
reduced test case
The attached testcase (reduced from tblgen's AsmMatcherEmitter) crashes in
codegen. Looks like a recent regression.
$ llc < t.ll
.file "<stdin>"
Assertion failed: (I != r2iMap_.end() && "Interval does not exist for
register"), function getInterval, file
llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h, line 114.
0 libLLVM-3.2svn.dylib 0x000000010a2cffce _ZL15PrintStackTracePv + 46
1 libLLVM-3.2svn.dylib 0x000000010a2d05e8 _ZL13SignalHandleri + 408
2 libsystem_c.dylib 0x00007fff8d92acfa _sigtramp + 26
3 libsystem_c.dylib 0x0000040068839ec0 _sigtramp + 18446607737940931040
4 libLLVM-3.2svn.dylib 0x000000010a2d029b raise + 27
5 libLLVM-3.2svn.dylib 0x000000010a2d0352 abort + 18
6 libLLVM-3.2svn.dylib 0x000000010a2d0331 __assert_rtn + 129
7 libLLVM-3.2svn.dylib 0x00000001095ff3d8
llvm::LiveIntervals::getInterval(unsigned int) + 184
8 libLLVM-3.2svn.dylib 0x0000000109795a3f (anonymous
namespace)::RegisterCoalescer::joinCopy(llvm::MachineInstr*, bool&) + 2047
9 libLLVM-3.2svn.dylib 0x00000001097951c3 (anonymous
namespace)::RegisterCoalescer::copyCoalesceWorkList(unsigned int) + 355
10 libLLVM-3.2svn.dylib 0x0000000109794fae (anonymous
namespace)::RegisterCoalescer::copyCoalesceInMBB(llvm::MachineBasicBlock*) +
318
11 libLLVM-3.2svn.dylib 0x0000000109794cf8 (anonymous
namespace)::RegisterCoalescer::joinAllIntervals() + 1560
12 libLLVM-3.2svn.dylib 0x0000000109793cbc (anonymous
namespace)::RegisterCoalescer::runOnMachineFunction(llvm::MachineFunction&) +
524
13 libLLVM-3.2svn.dylib 0x00000001096aec4e
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 110
14 libLLVM-3.2svn.dylib 0x00000001099f8eba
llvm::FPPassManager::runOnFunction(llvm::Function&) + 442
15 libLLVM-3.2svn.dylib 0x00000001099f91bd
llvm::FPPassManager::runOnModule(llvm::Module&) + 125
16 libLLVM-3.2svn.dylib 0x00000001099f96cc
llvm::MPPassManager::runOnModule(llvm::Module&) + 1196
17 libLLVM-3.2svn.dylib 0x00000001099fa077
llvm::PassManagerImpl::run(llvm::Module&) + 167
18 libLLVM-3.2svn.dylib 0x00000001099fa2a1
llvm::PassManager::run(llvm::Module&) + 33
19 llc 0x0000000108e5976b main + 5931
20 llc 0x0000000108e57ff4 start + 52
Stack dump:
0. Program arguments: llc
1. Running pass 'Function Pass Manager' on module '<stdin>'.
2. Running pass 'Simple Register Coalescing' on function
'@_ZN4llvm17AsmMatcherEmitter3runERNS_11raw_ostreamE'
--
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