[LLVMbugs] [Bug 4466] New: assertion failure in X86 AsmPrinter for fast isel
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Fri Jun 26 17:22:26 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4466
Summary: assertion failure in X86 AsmPrinter for fast isel
Product: libraries
Version: trunk
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: bob.wilson at apple.com
CC: llvmbugs at cs.uiuc.edu
This assertion failure is breaking the llvm-gcc self-hosted buildbot. I've got
2 separate bugpoint-reduced testcases (one from my build and one from Bill).
Compiling them with:
llc -disable-fp-elim -relocation-model=pic -O0 -regalloc=local crash1.bc
causes this assertion:
Assertion failed: (!Subtarget->isPICStyleStub() && !Subtarget->isPICStyleGOT()
&& "Should have operand flag!"), function printOperand, file
/Volumes/LocalHD/bwilson/build/llvmCore.roots/llvmCore~obj/src/lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp,
line 499.
0 llc 0x007fa0e5 llvm::sys::SetInterruptFunction(void (*)()) +
81
1 llc 0x007fa65b llvm::sys::RemoveFileOnSignal(llvm::sys::Path
const&, std::string*) + 595
2 libSystem.B.dylib 0x901da2bb _sigtramp + 43
3 libSystem.B.dylib 0xffffffff _sigtramp + 1877106031
4 libSystem.B.dylib 0x9024e23a raise + 26
5 libSystem.B.dylib 0x9025a679 abort + 73
6 libSystem.B.dylib 0x9024f3db __assert_rtn + 101
7 llc 0x0013507c llvm::ThumbInstrInfo::~ThumbInstrInfo() + 6894
8 llc 0x00135cf6 llvm::ThumbInstrInfo::~ThumbInstrInfo() +
10088
9 llc 0x0013604e llvm::ThumbInstrInfo::~ThumbInstrInfo() +
10944
10 llc 0x0013c649 std::map<llvm::Function const*,
llvm::X86MachineFunctionInfo, std::less<llvm::Function const*>,
std::allocator<std::pair<llvm::Function const* const,
llvm::X86MachineFunctionInfo> > >::operator[](llvm::Function const* const&) +
703
11 llc 0x00137476 llvm::ThumbInstrInfo::~ThumbInstrInfo() +
16104
12 llc 0x00138c84 llvm::ThumbInstrInfo::~ThumbInstrInfo() +
22262
13 llc 0x00139447 llvm::ThumbInstrInfo::~ThumbInstrInfo() +
24249
14 llc 0x00562e24
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 64
15 llc 0x0077512e
llvm::FPPassManager::runOnFunction(llvm::Function&) + 288
16 llc 0x00775650
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 112
17 llc 0x00775820
llvm::FunctionPassManager::run(llvm::Function&) + 156
18 llc 0x000031e1 main + 2981
19 llc 0x00001936 start + 54
Stack dump:
0. Program arguments:
/Volumes/LocalHD/bwilson/puzzlebox/build/llvmCore.roots/llvmCore~dst/Developer/usr/local/bin/llc
-disable-fp-elim -relocation-model=pic -O0 -regalloc=local crash2.bc
1. Running pass 'X86 AT&T-Style Assembly Printer' on function '@main'
Abort trap
The Thumb stuff in the stack trace is very weird. I would suspect this might
be related to some of the recent Thumb changes, except that when Bill runs it,
he gets SPARC instruction destructors in his stack trace.
--
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