[llvm-bugs] [Bug 34197] New: x86: llc crashes when build a program
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Aug 15 13:19:04 PDT 2017
https://bugs.llvm.org/show_bug.cgi?id=34197
Bug ID: 34197
Summary: x86: llc crashes when build a program
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: yunlian at chromium.org
CC: llvm-bugs at lists.llvm.org
Created attachment 18989
--> https://bugs.llvm.org/attachment.cgi?id=18989&action=edit
reproduce case generated by bugpoint.
llc w.ll
Can't get register for value!
UNREACHABLE executed at /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp:1246!
#0 0x00007fbb076d7a8f llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/usr/bin/../lib64/libLLVM-6.0svn.so+0x8a7a8f)
#1 0x00007fbb076d7df6 (/usr/bin/../lib64/libLLVM-6.0svn.so+0x8a7df6)
#2 0x00007fbb067add70 (/lib64/libc.so.6+0x33d70)
#3 0x00007fbb067adcf2 gsignal (/lib64/libc.so.6+0x33cf2)
#4 0x00007fbb067afa2a abort (/lib64/libc.so.6+0x35a2a)
#5 0x00007fbb0766e8bb (/usr/bin/../lib64/libLLVM-6.0svn.so+0x83e8bb)
#6 0x00007fbb07cc56e7 llvm::SelectionDAGBuilder::getValueImpl(llvm::Value
const*) (/usr/bin/../lib64/libLLVM-6.0svn.so+0xe956e7)
#7 0x00007fbb07cc453f llvm::SelectionDAGBuilder::getValue(llvm::Value const*)
(/usr/bin/../lib64/libLLVM-6.0svn.so+0xe9453f)
#8 0x00007fbb07cd9d06
llvm::SelectionDAGBuilder::visitTargetIntrinsic(llvm::CallInst const&, unsigned
int) (/usr/bin/../lib64/libLLVM-6.0svn.so+0xea9d06)
#9 0x00007fbb07cdb7b7
llvm::SelectionDAGBuilder::visitIntrinsicCall(llvm::CallInst const&, unsigned
int) (/usr/bin/../lib64/libLLVM-6.0svn.so+0xeab7b7)
#10 0x00007fbb07cbeb70 llvm::SelectionDAGBuilder::visitCall(llvm::CallInst
const&) (/usr/bin/../lib64/libLLVM-6.0svn.so+0xe8eb70)
#11 0x00007fbb07cb3916 llvm::SelectionDAGBuilder::visit(llvm::Instruction
const&) (/usr/bin/../lib64/libLLVM-6.0svn.so+0xe83916)
#12 0x00007fbb07d477d1
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction,
true, false, void>, false, true>,
llvm::ilist_iterator<llvm::ilist_detail::node_options<llvm::Instruction, true,
false, void>, false, true>, bool&)
(/usr/bin/../lib64/libLLVM-6.0svn.so+0xf177d1)
#13 0x00007fbb07d460ca
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
(/usr/bin/../lib64/libLLVM-6.0svn.so+0xf160ca)
#14 0x00007fbb07d427e1
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(/usr/bin/../lib64/libLLVM-6.0svn.so+0xf127e1)
#15 0x00007fbb09290851 (/usr/bin/../lib64/libLLVM-6.0svn.so+0x2460851)
#16 0x00007fbb0799bf94
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/usr/bin/../lib64/libLLVM-6.0svn.so+0xb6bf94)
#17 0x00007fbb077ece3f llvm::FPPassManager::runOnFunction(llvm::Function&)
(/usr/bin/../lib64/libLLVM-6.0svn.so+0x9bce3f)
#18 0x00007fbb077ed0c3 llvm::FPPassManager::runOnModule(llvm::Module&)
(/usr/bin/../lib64/libLLVM-6.0svn.so+0x9bd0c3)
#19 0x00007fbb077ed5b1 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/usr/bin/../lib64/libLLVM-6.0svn.so+0x9bd5b1)
#20 0x0000000000418c66 (llc+0x418c66)
#21 0x000000000041650b (llc+0x41650b)
#22 0x00007fbb0679a730 __libc_start_main (/lib64/libc.so.6+0x20730)
#23 0x0000000000410c29 (llc+0x410c29)
Stack dump:
0. Program arguments: llc w.ll
1. Running pass 'Function Pass Manager' on module 'w.ll'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@__cxa_call_unexpected'
Aborted (core dumped)
--
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/20170815/66ca6395/attachment.html>
More information about the llvm-bugs
mailing list