[LLVMbugs] [Bug 7485] New: Assertion failed: (getInstructionFromIndex(KillIdx) && "Dangling kill")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jun 24 12:30:44 PDT 2010


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

           Summary: Assertion failed: (getInstructionFromIndex(KillIdx) &&
                    "Dangling kill")
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: pawel.worach at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=5105)
 --> (http://llvm.org/bugs/attachment.cgi?id=5105)
bugpoint-reduced-simplified.bc

When using clang/llvm r106774 as the compiler when building a checkout of llvm
r104832 this assert is hit on BitcodeReader.cpp

% llc -disable-fp-elim bugpoint-reduced-simplified.bc
Assertion failed: (getInstructionFromIndex(KillIdx) && "Dangling kill"),
function anyKillInMBBAfterIdx, file
/Users/pwo/src/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp, line 1283.
0  llc               0x000000010078bbb2 std::_Rb_tree<llvm::sys::Path,
llvm::sys::Path, std::_Identity<llvm::sys::Path>, std::less<llvm::sys::Path>,
std::allocator<llvm::sys::Path>
>::_M_erase(std::_Rb_tree_node<llvm::sys::Path>*) + 12034
1  llc               0x000000010078c853 std::_Rb_tree<llvm::sys::Path,
llvm::sys::Path, std::_Identity<llvm::sys::Path>, std::less<llvm::sys::Path>,
std::allocator<llvm::sys::Path>
>::_M_erase(std::_Rb_tree_node<llvm::sys::Path>*) + 15267
2  libSystem.B.dylib 0x00007fff85e6835a _sigtramp + 26
3  libSystem.B.dylib 0x00007fff85e0d0aa tiny_malloc_from_free_list + 1196
4  libSystem.B.dylib 0x00007fff85ee39b4 __pthread_markcancel + 0
5  llc               0x00000001003cd760
llvm::SmallVectorImpl<llvm::SlotIndex>::operator=(llvm::SmallVectorImpl<llvm::SlotIndex>
const&) + 3952
6  llc               0x00000001003d2ec0
llvm::SmallVectorImpl<llvm::SlotIndex>::operator=(llvm::SmallVectorImpl<llvm::SlotIndex>
const&) + 26320
7  llc               0x00000001003da88c
llvm::SmallVectorImpl<llvm::SlotIndex>::operator=(llvm::SmallVectorImpl<llvm::SlotIndex>
const&) + 57500
8  llc               0x00000001004b7960 llvm::DenseMap<llvm::MachineBasicBlock
const*, llvm::SlotIndex, llvm::DenseMapInfo<llvm::MachineBasicBlock const*>,
llvm::DenseMapInfo<llvm::SlotIndex> >::grow(unsigned int) + 736
9  llc               0x00000001004659e1
llvm::MachineRegisterInfo::defusechain_iterator<true, true, true>::operator++()
+ 36769
10 llc               0x00000001004694c4
llvm::MachineRegisterInfo::defusechain_iterator<true, true, true>::operator++()
+ 51844
11 llc               0x000000010046a597
llvm::MachineRegisterInfo::defusechain_iterator<true, true, true>::operator++()
+ 56151
12 llc               0x0000000100405a4e llvm::sys::Path
llvm::WriteGraph<llvm::MachineFunction const*>(llvm::MachineFunction const*
const&, std::string const&, bool, std::string const&) + 2574
13 llc               0x000000010070abb0 llvm::BasicBlockPass::~BasicBlockPass()
+ 31712
14 llc               0x000000010070ad0b llvm::BasicBlockPass::~BasicBlockPass()
+ 32059
15 llc               0x000000010070c7ac llvm::BasicBlockPass::~BasicBlockPass()
+ 38876
16 llc               0x000000010070caa3 llvm::BasicBlockPass::~BasicBlockPass()
+ 39635
17 llc               0x000000010070cb7d llvm::BasicBlockPass::~BasicBlockPass()
+ 39853
18 llc               0x0000000100013810 std::_Rb_tree<long, std::pair<long
const, llvm::PassInfo const*>, std::_Select1st<std::pair<long const,
llvm::PassInfo const*> >, std::less<long>, std::allocator<std::pair<long const,
llvm::PassInfo const*> > >::_M_insert_unique(std::pair<long const,
llvm::PassInfo const*> const&) + 13872
19 llc               0x0000000100012278 std::_Rb_tree<long, std::pair<long
const, llvm::PassInfo const*>, std::_Select1st<std::pair<long const,
llvm::PassInfo const*> >, std::less<long>, std::allocator<std::pair<long const,
llvm::PassInfo const*> > >::_M_insert_unique(std::pair<long const,
llvm::PassInfo const*> const&) + 8344
20 llc               0x0000000000000003 std::_Rb_tree<long, std::pair<long
const, llvm::PassInfo const*>, std::_Select1st<std::pair<long const,
llvm::PassInfo const*> >, std::less<long>, std::allocator<std::pair<long const,
llvm::PassInfo const*> > >::_M_insert_unique(std::pair<long const,
llvm::PassInfo const*> const&) + 4294901283
Stack dump:
0.    Program arguments: llc -disable-fp-elim bugpoint-reduced-simplified.bc 
1.    Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.bc'.
2.    Running pass 'Linear Scan Register Allocator' on function
'@_ZN4llvm13BitcodeReader26ResolveGlobalAndAliasInitsEv'
Abort

-- 
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