[LLVMbugs] [Bug 10046] New: The Mips code generator fails during the Greedy Register Allocator pass.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun May 29 07:56:20 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=10046
Summary: The Mips code generator fails during the Greedy
Register Allocator pass.
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=6665)
--> (http://llvm.org/bugs/attachment.cgi?id=6665)
LLVM assembly test case.
The attached test cases fails for Mips:
[~/ellcc/libecc/obj/mips/linux/c] main% ~/vendor/llvm-build/bin/llc
MipsGRAassert.ll
llc: /home/rich/vendor/llvm-build/llvm/lib/CodeGen/SplitKit.cpp:180: bool
llvm::SplitAnalysis::calcLiveBlockInfo(): Assertion `BI.FirstUse >= Start'
failed.
0 llc 0x0000000000f4b6cf
1 llc 0x0000000000f4c20a
2 libpthread.so.0 0x00000037bea0eeb0
3 libc.so.6 0x00000037bde330c5 gsignal + 53
4 libc.so.6 0x00000037bde34a76 abort + 390
5 libc.so.6 0x00000037bde2b905 __assert_fail + 245
6 llc 0x0000000000be0777
7 llc 0x0000000000be0b20 llvm::SplitAnalysis::analyzeUses() + 512
8 llc 0x0000000000b7fcda
9 llc 0x0000000000b697bb llvm::RegAllocBase::allocatePhysRegs() +
267
10 llc 0x0000000000b7ce4b
11 llc 0x0000000000e7ac1f
llvm::FPPassManager::runOnFunction(llvm::Function&) + 655
12 llc 0x0000000000e7acdb
llvm::FPPassManager::runOnModule(llvm::Module&) + 75
13 llc 0x0000000000e7a717
llvm::MPPassManager::runOnModule(llvm::Module&) + 551
14 llc 0x0000000000e7a87b llvm::PassManagerImpl::run(llvm::Module&)
+ 187
15 llc 0x000000000055524a main + 4970
16 libc.so.6 0x00000037bde1ee5d __libc_start_main + 253
17 llc 0x0000000000552f69
Stack dump:
0. Program arguments: /home/rich/vendor/llvm-build/bin/llc
MipsGRAassert.ll
1. Running pass 'Function Pass Manager' on module 'MipsGRAassert.ll'.
2. Running pass 'Greedy Register Allocator' on function '@mergesort'
Abort (core dumped)
[~/ellcc/libecc/obj/mips/linux/c] 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