[LLVMbugs] [Bug 13414] New: splitkit assert: lib/CodeGen/SplitKit.cpp:206: bool llvm::SplitAnalysis::calcLiveBlockInfo(): Assertion `BI.FirstInstr >= Start' failed.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jul 19 18:51:45 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13414
Bug #: 13414
Summary: splitkit assert: lib/CodeGen/SplitKit.cpp:206: bool
llvm::SplitAnalysis::calcLiveBlockInfo(): Assertion
`BI.FirstInstr >= Start' failed.
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nlewycky at google.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Created attachment 8931
--> http://llvm.org/bugs/attachment.cgi?id=8931
testcase
$ llc -O2 b.ll -disable-fp-elim
llc: SplitKit.cpp:206: bool llvm::SplitAnalysis::calcLiveBlockInfo(): Assertion
`BI.FirstInstr >= Start' failed.
Program received signal SIGABRT, Aborted.
0x00007ffff6ebea75 in *__GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff6ebea75 in *__GI_raise (sig=<optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007ffff6ec25c0 in *__GI_abort () at abort.c:92
#2 0x00007ffff6eb7941 in *__GI___assert_fail (assertion=0x17d5426
"BI.FirstInstr >= Start",
file=<optimized out>, line=206, function=0x17dd700 "bool
llvm::SplitAnalysis::calcLiveBlockInfo()")
at assert.c:81
#3 0x000000000102dff2 in llvm::SplitAnalysis::calcLiveBlockInfo
(this=0x1f949f0) at SplitKit.cpp:206
#4 0x000000000102db74 in llvm::SplitAnalysis::analyzeUses (this=0x1f949f0) at
SplitKit.cpp:149
#5 0x000000000102e676 in llvm::SplitAnalysis::analyze (this=0x1f949f0,
li=0x1fa2d50) at SplitKit.cpp:316
#6 0x0000000000fd8c17 in (anonymous namespace)::RAGreedy::trySplit
(this=0x1f60780, VirtReg=...,
Order=..., NewVRegs=...) at RegAllocGreedy.cpp:1662
#7 0x0000000000fd8ff5 in (anonymous namespace)::RAGreedy::selectOrSplit
(this=0x1f60780, VirtReg=...,
NewVRegs=...) at RegAllocGreedy.cpp:1729
#8 0x000000000109e4a0 in llvm::RegAllocBase::allocatePhysRegs (this=0x1f607a0)
at RegAllocBase.cpp:105
#9 0x0000000000fd953b in (anonymous namespace)::RAGreedy::runOnMachineFunction
(this=0x1f60780, mf=...)
at RegAllocGreedy.cpp:1775
#10 0x0000000000f68bf5 in llvm::MachineFunctionPass::runOnFunction
(this=0x1f60780, F=...)
at MachineFunctionPass.cpp:33
#11 0x0000000001373e71 in llvm::FPPassManager::runOnFunction (this=0x1f52ed0,
F=...)
at PassManager.cpp:1498
#12 0x0000000001374093 in llvm::FPPassManager::runOnModule (this=0x1f52ed0,
M=...) at PassManager.cpp:1518
#13 0x00000000013743d9 in llvm::MPPassManager::runOnModule (this=0x1f3d570,
M=...) at PassManager.cpp:1572
#14 0x000000000137490d in llvm::PassManagerImpl::run (this=0x1f2f360, M=...) at
PassManager.cpp:1655
#15 0x0000000001374c09 in llvm::PassManager::run (this=0x7fffffffe130, M=...)
at PassManager.cpp:1684
#16 0x000000000078158d in main (argc=4, argv=0x7fffffffe498) at llc.cpp:541
(gdb) frame 3
#3 0x000000000102dff2 in llvm::SplitAnalysis::calcLiveBlockInfo
(this=0x1f949f0) at SplitKit.cpp:206
206 assert(BI.FirstInstr >= Start);
(gdb) p BI.FirstInstr
$1 = {lie = {Value = 33164770}}
(gdb) p Start
$2 = {lie = {Value = 33164896}}
--
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