[LLVMbugs] [Bug 11095] New: Assertion in instruction selector
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Oct 9 15:05:22 PDT 2011
http://llvm.org/bugs/show_bug.cgi?id=11095
Summary: Assertion in instruction selector
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: asl at math.spbu.ru
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=7425)
--> (http://llvm.org/bugs/attachment.cgi?id=7425)
Testcase
Consider the attached testcase. Running llc yields:
$ ./llc 2.ll
Assertion failed: (InChain.getValueType() == MVT::Other && "Not a chain"),
function HandleMergeInputChains, file
/Users/asl/Projects/llvm/src/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp,
line 1749.
0 llc 0x000000010ca61d12 _ZL15PrintStackTracePv + 34
1 llc 0x000000010ca622f9 _ZL13SignalHandleri + 745
2 libsystem_c.dylib 0x00007fff91639cfa _sigtramp + 26
3 libsystem_c.dylib 000000000000000000 _sigtramp + 18446603338076939040
4 llc 0x000000010ca61f66 abort + 22
5 llc 0x000000010ca61f28 __assert_rtn + 56
6 llc 0x000000010c6061fb
_ZL22HandleMergeInputChainsRN4llvm15SmallVectorImplIPNS_6SDNodeEEEPNS_12SelectionDAGE
+ 1035
7 llc 0x000000010c604303
llvm::SelectionDAGISel::SelectCodeCommon(llvm::SDNode*, unsigned char const*,
unsigned int) + 11715
8 llc 0x000000010c42c6d9 (anonymous
namespace)::ARMDAGToDAGISel::Select(llvm::SDNode*) + 9001
9 llc 0x000000010c5fe34b
llvm::SelectionDAGISel::DoInstructionSelection() + 699
10 llc 0x000000010c5fd62c
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 4188
11 llc 0x000000010c5fb819
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 265
12 llc 0x000000010c5fac8a
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 970
13 llc 0x000000010c6f2cac
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 60
14 llc 0x000000010c97445d
llvm::FPPassManager::runOnFunction(llvm::Function&) + 349
15 llc 0x000000010c97473b
llvm::FPPassManager::runOnModule(llvm::Module&) + 75
16 llc 0x000000010c974879
llvm::MPPassManager::runOnModule(llvm::Module&) + 265
17 llc 0x000000010c974e82
llvm::PassManagerImpl::run(llvm::Module&) + 290
18 llc 0x000000010c9753dd llvm::PassManager::run(llvm::Module&) +
13
19 llc 0x000000010c2476b5 main + 4725
20 llc 0x000000010c246434 start + 52
Stack dump:
0. Program arguments: ./llc 2.ll
1. Running pass 'Function Pass Manager' on module '2.ll'.
2. Running pass 'ARM Instruction Selection' on function '@baz'
Illegal instruction: 4
--
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