[LLVMbugs] [Bug 4688] New: Fallout from recent changes in call lowering
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Thu Aug 6 02:15:39 PDT 2009
http://llvm.org/bugs/show_bug.cgi?id=4688
Summary: Fallout from recent changes in call lowering
Product: libraries
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Backend: X86
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: gohman at apple.com, llvmbugs at cs.uiuc.edu
Created an attachment (id=3290)
--> (http://llvm.org/bugs/attachment.cgi?id=3290)
testcase
Consider the attached testcase (reduction from Qt). Running llc yields:
$ ./llc bugpoint-reduced-simplified.bc
llc:
/home/asl/proj/llvm/src/lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp:4473:
void llvm::SelectionDAGLowering::LowerCallTo(llvm::CallSite, llvm::SDValue,
bool, llvm::MachineBasicBlock*): Assertion `(isTailCall || CS.getType() ==
Type::VoidTy || Result.first.getNode()) && "Non-null value expected with
non-void non-tail call!"' failed.
0 llc 0x0000000000e77880
1 llc 0x0000000000e77d9e
2 libpthread.so.0 0x00007fe2649986f0
3 libc.so.6 0x00007fe263cd49c5 gsignal + 53
4 libc.so.6 0x00007fe263cd5e70 abort + 272
5 libc.so.6 0x00007fe263ccdedf __assert_fail + 239
6 llc 0x0000000000aa71c5
llvm::SelectionDAGLowering::LowerCallTo(llvm::CallSite, llvm::SDValue, bool,
llvm::MachineBasicBlock*) + 1763
7 llc 0x0000000000ab6ad2
llvm::SelectionDAGLowering::visitCall(llvm::CallInst&) + 2950
8 llc 0x0000000000ac12a6
llvm::SelectionDAGLowering::visit(unsigned int, llvm::User&) + 1008
9 llc 0x0000000000ac136a
llvm::SelectionDAGLowering::visit(llvm::Instruction&) + 44
10 llc 0x0000000000ad77c8
llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*,
llvm::ilist_iterator<llvm::Instruction>,
llvm::ilist_iterator<llvm::Instruction>) + 96
11 llc 0x0000000000ad8363
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function&,
llvm::MachineFunction&, llvm::MachineModuleInfo*, llvm::DwarfWriter*,
llvm::TargetInstrInfo const&) + 2383
12 llc 0x0000000000ad925f
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 947
13 llc 0x0000000000bc1d77
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 83
14 llc 0x0000000000dfaeb5
llvm::FPPassManager::runOnFunction(llvm::Function&) + 341
15 llc 0x0000000000dfb4a5
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 111
16 llc 0x0000000000dfb64c
llvm::FunctionPassManager::run(llvm::Function&) + 112
17 llc 0x0000000000401e4e main + 3164
18 libc.so.6 0x00007fe263cc1a44 __libc_start_main + 244
19 llc 0x0000000000400249
Stack dump:
0. Program arguments: ./llc bugpoint-reduced-simplified.bc
1. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@_ZN15QtSharedPointer22internalSafetyCheckAddEPVKv'
--
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