[LLVMbugs] [Bug 3954] New: [ARM] An asm causes an assert.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Mon Apr 6 14:14:52 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=3954
Summary: [ARM] An asm causes an assert.
Product: new-bugs
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: rich at pennware.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=2800)
--> (http://llvm.org/bugs/attachment.cgi?id=2800)
The source .ll file.
Compiling the attached .ll file with the command lines:
[~/ellcc/ellcc] main% llvm-as -f t0064.ll
[~/ellcc/ellcc] main% llc -march arm t0064.bc
results in:
llc: /home/rich/llvm-trunk-new/lib/CodeGen/RegisterScavenging.cpp:273: void
llvm::RegScavenger::forward(): Assertion `(isReserved(Reg) || isUnused(Reg) ||
IsImpDef || isImplicitlyDefined(Reg) || isLiveInButUnusedBefore(Reg, MI, MBB,
TRI, MRI)) && "Re-defining a live register!"' failed.
0 llc 0x08d5616d
1 llc 0x08d5669f
2 0x0077e400 __kernel_sigreturn + 0
3 libc.so.6 0x00bcce28 abort + 392
4 libc.so.6 0x00bc440e __assert_fail + 238
5 llc 0x08b1a6d8 llvm::RegScavenger::forward() + 1778
6 llc 0x08645554
llvm::RegScavenger::forward(llvm::ilist_iterator<llvm::MachineInstr>) + 126
7 llc 0x08ae8f12
8 llc 0x08aed977
9 llc 0x0845fc26
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 52
10 llc 0x08cd6ae2 llvm::FPPassManager::runOnFunction(llvm::Function&) +
288
11 llc 0x08cd75d0 llvm::FunctionPassManagerImpl::run(llvm::Function&) +
124
12 llc 0x08cd77a1 llvm::FunctionPassManager::run(llvm::Function&) + 159
13 llc 0x083d1662 main + 2687
14 libc.so.6 0x00bb66e5 __libc_start_main + 229
15 llc 0x083cfb21
Stack dump:
0. Program arguments: llc -march arm t0064.bc
1. Running pass 'Prolog/Epilog Insertion & Frame Finalization' on function
'@foo'
Abort
[~/ellcc/ellcc] 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