[LLVMbugs] [Bug 9616] New: Assertion in LiveIntervals pass

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Apr 3 00:47:33 PDT 2011


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

           Summary: Assertion in LiveIntervals pass
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Register Allocator
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: css20 at mail.ru
                CC: llvmbugs at cs.uiuc.edu


Platform - Linux x86_64 (may be any other), bug exists in trunk and llvm 2.9.
For reproduce, run llc with bitcode file from attachment and see this:

llc: /HDD/E/build/llvm-tot/src/lib/CodeGen/LiveIntervalAnalysis.cpp:825: bool
llvm::LiveIntervals::shrinkToUses(llvm::LiveInterval*,
llvm::SmallVectorImpl<llvm::MachineInstr*>*): Assertion `PVNI->hasPHIKill() &&
"Missing hasPHIKill flag"' failed.
0  llc             0x0000000000e609df
1  llc             0x0000000000e62c52
2  libpthread.so.0 0x00007fdfe380a0e0
3  libc.so.6       0x00007fdfe2b25065 gsignal + 53
4  libc.so.6       0x00007fdfe2b262ff abort + 383
5  libc.so.6       0x00007fdfe2b1e1e1 __assert_fail + 241
6  llc             0x0000000000bda372
llvm::LiveIntervals::shrinkToUses(llvm::LiveInterval*,
llvm::SmallVectorImpl<llvm::MachineInstr*>*) + 5122
7  llc             0x0000000000b3f7a9
llvm::SimpleRegisterCoalescing::ReMaterializeTrivialDef(llvm::LiveInterval&,
bool, unsigned int, unsigned int, llvm::MachineInstr*) + 937
8  llc             0x0000000000b440bc
llvm::SimpleRegisterCoalescing::JoinCopy(llvm::CopyRec&, bool&) + 2252
9  llc             0x0000000000b449cc
llvm::SimpleRegisterCoalescing::CopyCoalesceInMBB(llvm::MachineBasicBlock*,
std::vector<llvm::CopyRec, std::allocator<llvm::CopyRec> >&) + 1100
10 llc             0x0000000000b45146
llvm::SimpleRegisterCoalescing::joinIntervals() + 870
11 llc             0x0000000000b46698
llvm::SimpleRegisterCoalescing::runOnMachineFunction(llvm::MachineFunction&) +
5096
12 llc             0x0000000000db35eb
llvm::FPPassManager::runOnFunction(llvm::Function&) + 587
13 llc             0x0000000000db36eb
llvm::FPPassManager::runOnModule(llvm::Module&) + 75
14 llc             0x0000000000db4cb7
llvm::MPPassManager::runOnModule(llvm::Module&) + 503
15 llc             0x0000000000db4e4b llvm::PassManagerImpl::run(llvm::Module&)
+ 187
16 llc             0x000000000055935d main + 4781
17 libc.so.6       0x00007fdfe2b11bbd __libc_start_main + 253
18 llc             0x0000000000557499
Stack dump:
0.      Program arguments:
/HDD/E/build/llvm-tot/x86_64-Linux/Release+Asserts/bin/llc
bugpoint-reduced-blocks.bc 
1.      Running pass 'Function Pass Manager' on module
'bugpoint-reduced-blocks.bc'.
2.      Running pass 'Simple Register Coalescing' on function '@_Z7paqmainiPPc'

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