[llvm-bugs] [Bug 26985] New: PowerPC64: SEGV in PPCTargetLowering::DAGCombineExtBoolTrunc()
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Mar 17 20:53:47 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=26985
Bug ID: 26985
Summary: PowerPC64: SEGV in
PPCTargetLowering::DAGCombineExtBoolTrunc()
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: Backend: PowerPC
Assignee: unassignedbugs at nondot.org
Reporter: anton at samba.org
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
The attached testcase SEGVs in PPCTargetLowering::DAGCombineExtBoolTrunc()
# llc -O2 bugpoint-reduced-simplified.ll
#0 0x0000000010a5ada0 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
/home/anton/llvm/lib/Support/Unix/Signals.inc:322:0
#1 0x0000000010a5b1e0 PrintStackTraceSignalHandler(void*)
/home/anton/llvm/lib/Support/Unix/Signals.inc:379:0
#2 0x0000000010a58b0c llvm::sys::RunSignalHandlers()
/home/anton/llvm/lib/Support/Signals.cpp:45:0
#3 0x0000000010a58d44 SignalHandler(int)
/home/anton/llvm/lib/Support/Unix/Signals.inc:200:0
#4 0x00003fff9b0f04d8 0x4d8
llvm::PPCTargetLowering::DAGCombineExtBoolTrunc(llvm::SDNode*,
llvm::TargetLowering::DAGCombinerInfo&) const
#5 0x00003fff9b0f04d8
/home/anton/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:9904:0
#6 0x00003fff9b0f04d8
llvm::PPCTargetLowering::DAGCombineExtBoolTrunc(llvm::SDNode*,
llvm::TargetLowering::DAGCombinerInfo&) const
/home/anton/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:9965:0
#7 0x00000000101ced1c llvm::PPCTargetLowering::PerformDAGCombine(llvm::SDNode*,
llvm::TargetLowering::DAGCombinerInfo&) const
/home/anton/llvm/lib/Target/PowerPC/PPCISelLowering.cpp:10189:0
#8 0x00000000101cef20 (anonymous
namespace)::DAGCombiner::combine(llvm::SDNode*)
/home/anton/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1463:0
#9 0x00000000101d0318 Run
/home/anton/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:1304:0
#10 0x00000000101d0318 llvm::SelectionDAG::Combine(llvm::CombineLevel,
llvm::AAResults&, llvm::CodeGenOpt::Level)
/home/anton/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp:14846:0
#11 0x0000000010861c1c llvm::SelectionDAGISel::CodeGenAndEmitDAG()
/home/anton/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:775:0
#12 0x000000001086346c
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&)
/home/anton/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:669:0
#13 0x00000000109318d8
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
/home/anton/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1361:0
#14 0x00000000109319e4
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
/home/anton/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:503:0
#15 0x0000000010939058 (anonymous
namespace)::PPCDAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&)
/home/anton/llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:87:0
#16 0x000000001093ad38
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
/home/anton/llvm/lib/CodeGen/MachineFunctionPass.cpp:43:0
#17 0x000000001019c6d0 llvm::FPPassManager::runOnFunction(llvm::Function&)
/home/anton/llvm/lib/IR/LegacyPassManager.cpp:1550:0
#18 0x0000000010483c78 llvm::FPPassManager::runOnModule(llvm::Module&)
/home/anton/llvm/lib/IR/LegacyPassManager.cpp:1571:0
#19 0x0000000010705d6c runOnModule
/home/anton/llvm/lib/IR/LegacyPassManager.cpp:1627:0
#20 0x0000000010705d6c llvm::legacy::PassManagerImpl::run(llvm::Module&)
/home/anton/llvm/lib/IR/LegacyPassManager.cpp:1730:0
#21 0x00000000107062ac llvm::legacy::PassManager::run(llvm::Module&)
/home/anton/llvm/lib/IR/LegacyPassManager.cpp:1761:0
#22 0x0000000010705854 compileModule(char**, llvm::LLVMContext&)
/home/anton/llvm/tools/llc/llc.cpp:412:0
#23 0x0000000010705adc main /home/anton/llvm/tools/llc/llc.cpp:218:0
#24 0x000000001014ffb8 generic_start_main
/build/glibc-aJyD1I/glibc-2.21/csu/../csu/libc-start.c:289:0
#25 0x000000001012e118 __libc_start_main
/build/glibc-aJyD1I/glibc-2.21/csu/../sysdeps/unix/sysv/linux/powerpc/libc-start.c:94:0
0 llc 0x0000000010a5ada0 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
+ 128
1 llc 0x0000000010a5b1e0
2 llc 0x0000000010a58b0c llvm::sys::RunSignalHandlers() + 124
3 llc 0x0000000010a58d44
4 0x00003fff9b0f04d8 __kernel_sigtramp_rt64 + 0
5 llc 0x00000000101ced1c
llvm::PPCTargetLowering::DAGCombineExtBoolTrunc(llvm::SDNode*,
llvm::TargetLowering::DAGCombinerInfo&) const + 3548
6 llc 0x00000000101cef20
llvm::PPCTargetLowering::DAGCombineExtBoolTrunc(llvm::SDNode*,
llvm::TargetLowering::DAGCombinerInfo&) const + 4064
7 llc 0x00000000101d0318
llvm::PPCTargetLowering::PerformDAGCombine(llvm::SDNode*,
llvm::TargetLowering::DAGCombinerInfo&) const + 3480
8 llc 0x0000000010861c1c
9 llc 0x000000001086346c llvm::SelectionDAG::Combine(llvm::CombineLevel,
llvm::AAResults&, llvm::CodeGenOpt::Level) + 1708
10 llc 0x00000000109318d8 llvm::SelectionDAGISel::CodeGenAndEmitDAG() +
1352
11 llc 0x00000000109319e4
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 212
12 llc 0x0000000010939058
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 1144
13 llc 0x000000001093ad38
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 1384
14 llc 0x000000001019c6d0
15 llc 0x0000000010483c78
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 216
16 llc 0x0000000010705d6c
llvm::FPPassManager::runOnFunction(llvm::Function&) + 620
17 llc 0x00000000107062ac llvm::FPPassManager::runOnModule(llvm::Module&)
+ 76
18 llc 0x0000000010705854
llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1012
19 llc 0x0000000010705adc llvm::legacy::PassManager::run(llvm::Module&) +
28
20 llc 0x000000001014ffb8
21 llc 0x000000001012e118 main + 360
22 libc.so.6 0x00003fff9aad3500
23 libc.so.6 0x00003fff9aad3734 __libc_start_main + 180
Stack dump:
0. Program arguments: llc -O2 bugpoint-reduced-simplified.ll
1. Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.ll'.
2. Running pass 'PowerPC DAG->DAG Pattern Instruction Selection' on function
'@fn2'
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160318/dd0f0530/attachment-0001.html>
More information about the llvm-bugs
mailing list