[LLVMbugs] [Bug 8868] New: Mips code generator fails during live interval analysis
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Dec 28 07:05:51 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8868
Summary: Mips code generator fails during live interval
analysis
Product: new-bugs
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rich at pennware.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5932)
--> (http://llvm.org/bugs/attachment.cgi?id=5932)
Test case.
The attached test case fails when run through llc:
[~/ellcc/libecc/obj/mips/linux] main% ~/ellcc/bin/llc LIAMips.ll
llc: /home/rich/ellcc/llvm/lib/CodeGen/LiveInterval.cpp:264: llvm::LiveRange*
llvm::LiveInterval::addRangeFrom(llvm::LiveRange, llvm::LiveRange*): Assertion
`B->end <= Start && "Cannot overlap two LiveRanges with differing ValID's" "
(did you def the same reg twice in a MachineInstr?)"' failed.
0 llc 0x0000000000d91f3f
1 llc 0x0000000000d9418a
2 libpthread.so.0 0x000000370aa0f210
3 libc.so.6 0x0000003709e327f5 gsignal + 53
4 libc.so.6 0x0000003709e33fd5 abort + 373
5 libc.so.6 0x0000003709e2b785 __assert_fail + 245
6 llc 0x0000000000b37b32
llvm::LiveInterval::addRangeFrom(llvm::LiveRange, llvm::LiveRange*) + 866
7 llc 0x0000000000b3c9a8
llvm::LiveIntervals::handleLiveInRegister(llvm::MachineBasicBlock*,
llvm::SlotIndex, llvm::LiveInterval&, bool) + 920
8 llc 0x0000000000b4392c llvm::LiveIntervals::computeIntervals() +
492
9 llc 0x0000000000b441ed
llvm::LiveIntervals::runOnMachineFunction(llvm::MachineFunction&) + 621
10 llc 0x0000000000cf291d
llvm::FPPassManager::runOnFunction(llvm::Function&) + 557
11 llc 0x0000000000cf2a1b
llvm::FPPassManager::runOnModule(llvm::Module&) + 75
12 llc 0x0000000000cf24a7
llvm::MPPassManager::runOnModule(llvm::Module&) + 503
13 llc 0x0000000000cf2627 llvm::PassManagerImpl::run(llvm::Module&)
+ 167
14 llc 0x00000000005356cd main + 4109
15 libc.so.6 0x0000003709e1eb1d __libc_start_main + 253
16 llc 0x0000000000533a39
Stack dump:
0. Program arguments: /home/rich/ellcc/bin/llc LIAMips.ll
1. Running pass 'Function Pass Manager' on module 'LIAMips.ll'.
2. Running pass 'Live Interval Analysis' on function '@gdtoa'
Abort (core dumped)
[~/ellcc/libecc/obj/mips/linux] main%
--
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