<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - x86: llc crashes when build a program"
href="https://bugs.llvm.org/show_bug.cgi?id=34197">34197</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>x86: llc crashes when build a program
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>yunlian@chromium.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=18989" name="attach_18989" title="reproduce case generated by bugpoint.">attachment 18989</a> <a href="attachment.cgi?id=18989&action=edit" title="reproduce case generated by bugpoint.">[details]</a></span>
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)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>