<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 - Crash when generating code for ARM NEON intrinsic"
href="https://bugs.llvm.org/show_bug.cgi?id=45824">45824</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Crash when generating code for ARM NEON intrinsic
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</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>Backend: ARM
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>srhines@google.com
</td>
</tr>
<tr>
<th>CC</th>
<td>kristof.beyls@arm.com, llvm-bugs@lists.llvm.org, smithp352@googlemail.com, Ties.Stuij@arm.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=23457" name="attach_23457" title="crashing input">attachment 23457</a> <a href="attachment.cgi?id=23457&action=edit" title="crashing input">[details]</a></span>
crashing input
This is reduced input from <a href="https://github.com/android/ndk/issues/1248">https://github.com/android/ndk/issues/1248</a>.
```
srhines@ringworld:__:new$ /disk/llvm/build/bin/llc
bugpoint-reduced-simplified.ll
unexpected intrinsic for Neon base update
UNREACHABLE executed at
/disk/llvm/llvm-project/llvm/lib/Target/ARM/ARMISelLowering.cpp:13412!
PLEASE submit a bug report to <a href="https://bugs.llvm.org/">https://bugs.llvm.org/</a> and include the crash
backtrace.
Stack dump:
0. Program arguments: /disk/llvm/build/bin/llc
bugpoint-reduced-simplified.ll
1. Running pass 'Function Pass Manager' on module
'bugpoint-reduced-simplified.ll'.
2. Running pass 'ARM Instruction Selection' on function
'@_ZN4conv27yCrCb2rgb_aarch64_yps1_chs1E18yuv_data_info_tmplIPKSt4byteEPhj'
#0 0x0000000003afc417 llvm::sys::PrintStackTrace(llvm::raw_ostream&)
(/disk/llvm/build/bin/llc+0x3afc417)
#1 0x0000000003afc5b9 PrintStackTraceSignalHandler(void*)
(/disk/llvm/build/bin/llc+0x3afc5b9)
#2 0x0000000003afadcb llvm::sys::RunSignalHandlers()
(/disk/llvm/build/bin/llc+0x3afadcb)
#3 0x0000000003afcd35 SignalHandler(int) (/disk/llvm/build/bin/llc+0x3afcd35)
#4 0x00007f55e8838520 __restore_rt
(/lib/x86_64-linux-gnu/libpthread.so.0+0x13520)
#5 0x00007f55e8314f61 raise
/build/glibc-oCLvUT/glibc-2.29/signal/../sysdeps/unix/sysv/linux/raise.c:51:1
#6 0x00007f55e8300535 abort /build/glibc-oCLvUT/glibc-2.29/stdlib/abort.c:81:7
#7 0x0000000003a49b04 (/disk/llvm/build/bin/llc+0x3a49b04)
#8 0x000000000160495d CombineBaseUpdate(llvm::SDNode*,
llvm::TargetLowering::DAGCombinerInfo&) (/disk/llvm/build/bin/llc+0x160495d)
#9 0x00000000015e083c PerformVLDCombine(llvm::SDNode*,
llvm::TargetLowering::DAGCombinerInfo&) (/disk/llvm/build/bin/llc+0x15e083c)
#10 0x00000000015d6189
llvm::ARMTargetLowering::PerformDAGCombine(llvm::SDNode*,
llvm::TargetLowering::DAGCombinerInfo&) const
(/disk/llvm/build/bin/llc+0x15d6189)
#11 0x000000000369bff5 (anonymous
namespace)::DAGCombiner::combine(llvm::SDNode*)
(/disk/llvm/build/bin/llc+0x369bff5)
#12 0x000000000369b4a0 (anonymous
namespace)::DAGCombiner::Run(llvm::CombineLevel)
(/disk/llvm/build/bin/llc+0x369b4a0)
#13 0x000000000369addf llvm::SelectionDAG::Combine(llvm::CombineLevel,
llvm::AAResults*, llvm::CodeGenOpt::Level) (/disk/llvm/build/bin/llc+0x369addf)
#14 0x00000000038c4bc0 llvm::SelectionDAGISel::CodeGenAndEmitDAG()
(/disk/llvm/build/bin/llc+0x38c4bc0)
#15 0x00000000038c374f
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&) (/disk/llvm/build/bin/llc+0x38c374f)
#16 0x00000000038c31b3
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&)
(/disk/llvm/build/bin/llc+0x38c31b3)
#17 0x00000000038c0381
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(/disk/llvm/build/bin/llc+0x38c0381)
#18 0x0000000001547808 (anonymous
namespace)::ARMDAGToDAGISel::runOnMachineFunction(llvm::MachineFunction&)
(/disk/llvm/build/bin/llc+0x1547808)
#19 0x0000000002b3fdc7
llvm::MachineFunctionPass::runOnFunction(llvm::Function&)
(/disk/llvm/build/bin/llc+0x2b3fdc7)
#20 0x00000000030edc9c llvm::FPPassManager::runOnFunction(llvm::Function&)
(/disk/llvm/build/bin/llc+0x30edc9c)
#21 0x00000000030ee0c5 llvm::FPPassManager::runOnModule(llvm::Module&)
(/disk/llvm/build/bin/llc+0x30ee0c5)
#22 0x00000000030ee844 (anonymous
namespace)::MPPassManager::runOnModule(llvm::Module&)
(/disk/llvm/build/bin/llc+0x30ee844)
#23 0x00000000030ee368 llvm::legacy::PassManagerImpl::run(llvm::Module&)
(/disk/llvm/build/bin/llc+0x30ee368)
#24 0x00000000030eede1 llvm::legacy::PassManager::run(llvm::Module&)
(/disk/llvm/build/bin/llc+0x30eede1)
#25 0x0000000000b86e69 compileModule(char**, llvm::LLVMContext&)
(/disk/llvm/build/bin/llc+0xb86e69)
#26 0x0000000000b8534f main (/disk/llvm/build/bin/llc+0xb8534f)
#27 0x00007f55e8301bbb __libc_start_main
/build/glibc-oCLvUT/glibc-2.29/csu/../csu/libc-start.c:342:3
#28 0x0000000000b84a8a _start (/disk/llvm/build/bin/llc+0xb84a8a)
Aborted
```</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>