[LLVMbugs] [Bug 14653] New: ARM codegen crash - Assertion failed: (VT.isInteger() && Operand.getValueType().isInteger() && "Invalid TRUNCATE!"), function getNode, file
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Dec 19 10:45:44 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14653
Bug #: 14653
Summary: ARM codegen crash - Assertion failed: (VT.isInteger()
&& Operand.getValueType().isInteger() && "Invalid
TRUNCATE!"), function getNode, file
Product: libraries
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: ARM
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nrotem at apple.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Reproduce using the command:
./llvm-stress --size=100 --seed=8086 | ./llc -march=arm -mattr=+v7 > /dev/null
Error:
Assertion failed: (VT.isInteger() && Operand.getValueType().isInteger() &&
"Invalid TRUNCATE!"), function getNode, file
/Users/nadav/devel/src/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp, line
2604.
0 llc 0x00000001010831ce PrintStackTrace(void*) + 46
1 llc 0x0000000101083779 SignalHandler(int) + 297
2 libsystem_c.dylib 0x00007fff864a95da _sigtramp + 26
3 libsystem_c.dylib 0x00007fff5fa70de0 _sigtramp + 18446744073061300256
4 llc 0x000000010108349b raise + 27
5 llc 0x0000000101083552 abort + 18
6 llc 0x0000000101083531 __assert_rtn + 129
7 llc 0x0000000100842781 llvm::SelectionDAG::getNode(unsigned
int, llvm::DebugLoc, llvm::EVT, llvm::SDValue) + 7905
8 llc 0x00000001008bdb06
getCopyFromPartsVector(llvm::SelectionDAG&, llvm::DebugLoc, llvm::SDValue
const*, unsigned int, llvm::MVT, llvm::EVT, llvm::Value const*) + 3638
9 llc 0x00000001008b879b getCopyFromParts(llvm::SelectionDAG&,
llvm::DebugLoc, llvm::SDValue const*, unsigned int, llvm::MVT, llvm::EVT,
llvm::Value const*, llvm::ISD::NodeType) + 155
10 llc 0x000000010089423f (anonymous
namespace)::RegsForValue::getCopyFromRegs(llvm::SelectionDAG&,
llvm::FunctionLoweringInfo&, llvm::DebugLoc, llvm::SDValue&, llvm::SDValue*,
llvm::Value const*) const + 2751
11 llc 0x0000000100892efe
llvm::SelectionDAGBuilder::getValue(llvm::Value const*) + 510
12 llc 0x000000010088be69
llvm::SelectionDAGBuilder::visitStore(llvm::StoreInst const&) + 313
13 llc 0x0000000100888105
llvm::SelectionDAGBuilder::visit(unsigned int, llvm::User const&) + 677
14 llc 0x0000000100887764
llvm::SelectionDAGBuilder::visit(llvm::Instruction const&) + 132
15 llc 0x00000001008e0a4c
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 140
16 llc 0x00000001008e091e
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 3326
17 llc 0x00000001008def3a
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 938
18 llc 0x0000000100aa825e
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 110
19 llc 0x0000000100fe8aef
llvm::FPPassManager::runOnFunction(llvm::Function&) + 431
20 llc 0x0000000100fe8dd8
llvm::FPPassManager::runOnModule(llvm::Module&) + 104
21 llc 0x0000000100fe91da
llvm::MPPassManager::runOnModule(llvm::Module&) + 634
22 llc 0x0000000100fe9a3e
llvm::PassManagerImpl::run(llvm::Module&) + 302
23 llc 0x0000000100fe9cd1 llvm::PassManager::run(llvm::Module&) +
33
24 llc 0x000000010018d11b compileModule(char**,
llvm::LLVMContext&) + 5003
25 llc 0x000000010018bd22 main + 226
26 libdyld.dylib 0x00007fff8ce2776d start + 0
27 libdyld.dylib 0x0000000000000003 start + 18446603338152511638
Stack dump:
0. Program arguments: ./llc -march=arm -mattr=+v7
1. Running pass 'Function Pass Manager' on module '<stdin>'.
--
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