[LLVMbugs] [Bug 4681] New: Live intervals assertions durting compilation of libmudflap

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Aug 4 04:25:36 PDT 2009


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

           Summary: Live intervals assertions durting compilation of
                    libmudflap
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Backend: ARM
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: asl at math.spbu.ru
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=3282)
 --> (http://llvm.org/bugs/attachment.cgi?id=3282)
Bugpoint reduced testcase

Consider the attached bytecode. llc currently asserts with:

./llc bugpoint-reduced-simplified.bc 
llc:
/home/asl/proj/llvm/src_arm/include/llvm/CodeGen/LiveIntervalAnalysis.h:136:
llvm::LiveInterval& llvm::LiveIntervals::getInterval(unsigned int): Assertion
`I != r2iMap_.end() && "Interval does not exist for register"' failed.
0   llc             0x0000000000fce3e4
1   llc             0x0000000000fce902
2   libpthread.so.0 0x00007f8a403d36f0
3   libc.so.6       0x00007f8a3f70f9c5 gsignal + 53
4   libc.so.6       0x00007f8a3f710e70 abort + 272
5   libc.so.6       0x00007f8a3f708edf __assert_fail + 239
6   llc             0x0000000000d4b4ff
llvm::LiveIntervals::getInterval(unsigned int) + 169
7   llc             0x0000000000d87eb7
llvm::SimpleRegisterCoalescing::JoinCopy(llvm::CopyRec&, bool&) + 5293
8   llc             0x0000000000d8941c
llvm::SimpleRegisterCoalescing::CopyCoalesceInMBB(llvm::MachineBasicBlock*,
std::vector<llvm::CopyRec, std::allocator<llvm::CopyRec> >&) + 1318
9   llc             0x0000000000d8960a
llvm::SimpleRegisterCoalescing::joinIntervals() + 234
10  llc             0x0000000000d89cce
llvm::SimpleRegisterCoalescing::runOnMachineFunction(llvm::MachineFunction&) +
746
11  llc             0x0000000000d13877
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 83
12  llc             0x0000000000f4fa6d
llvm::FPPassManager::runOnFunction(llvm::Function&) + 341
13  llc             0x0000000000f5005d
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 111
14  llc             0x0000000000f50204
llvm::FunctionPassManager::run(llvm::Function&) + 112
15  llc             0x000000000080b94e main + 3164
16  libc.so.6       0x00007f8a3f6fca44 __libc_start_main + 244
17  llc             0x0000000000809d49
Stack dump:
0.      Program arguments: ./llc bugpoint-reduced-simplified.bc 
1.      Running pass 'Simple Register Coalescing' on function
'@__mf_heuristic_check'

This breaks llvm-gcc build on ARM


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