[LLVMbugs] [Bug 5411] New: Another regscavenger assertion
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Nov 6 07:01:53 PST 2009
http://llvm.org/bugs/show_bug.cgi?id=5411
Summary: Another regscavenger assertion
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: ARM
AssignedTo: evan.cheng at apple.com
ReportedBy: asl at math.spbu.ru
CC: llvmbugs at cs.uiuc.edu
Consider attached bytecode. llc fails with:
$ ./llc -mcpu=cortex-a8 bugpoint-reduced-simplified.ll
llc: /home/asl/proj/llvm/src_arm/lib/CodeGen/RegisterScavenging.cpp:196: void
llvm::RegScavenger::forward(): Assertion `SubUsed && "Using an undefined
register!"' failed.
0 llc 0x0000000000cb28d6
1 llc 0x0000000000cb2e72
2 libpthread.so.0 0x00007f5075b006f0
3 libc.so.6 0x00007f5074e3c9c5 gsignal + 53
4 libc.so.6 0x00007f5074e3de70 abort + 272
5 libc.so.6 0x00007f5074e35edf __assert_fail + 239
6 llc 0x0000000000a14b24 llvm::RegScavenger::forward() + 1112
7 llc 0x00000000005d0bf9
llvm::RegScavenger::forward(llvm::ilist_iterator<llvm::MachineInstr>) + 109
8 llc 0x00000000009dfa09
llvm::PEI::scavengeFrameVirtualRegs(llvm::MachineFunction&) + 1339
9 llc 0x00000000009e1593
llvm::PEI::runOnMachineFunction(llvm::MachineFunction&) + 483
10 llc 0x00000000009b8cb5
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 83
11 llc 0x0000000000c3595f
llvm::FPPassManager::runOnFunction(llvm::Function&) + 329
12 llc 0x0000000000c375ef
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 111
13 llc 0x0000000000c37796
llvm::FunctionPassManager::run(llvm::Function&) + 112
14 llc 0x0000000000401ec0 main + 3064
15 libc.so.6 0x00007f5074e29a44 __libc_start_main + 244
16 llc 0x0000000000400249
Stack dump:
0. Program arguments: ./llc -mcpu=cortex-a8 bugpoint-reduced-simplified.ll
1. Running pass 'Prolog/Epilog Insertion & Frame Finalization' on function
'@aaa'
--
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