[llvm-bugs] [Bug 45824] New: Crash when generating code for ARM NEON intrinsic
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed May 6 23:50:45 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45824
Bug ID: 45824
Summary: Crash when generating code for ARM NEON intrinsic
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: ARM
Assignee: unassignedbugs at nondot.org
Reporter: srhines at google.com
CC: kristof.beyls at arm.com, llvm-bugs at lists.llvm.org,
smithp352 at googlemail.com, Ties.Stuij at arm.com
Created attachment 23457
--> https://bugs.llvm.org/attachment.cgi?id=23457&action=edit
crashing input
This is reduced input from https://github.com/android/ndk/issues/1248.
```
srhines at 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 https://bugs.llvm.org/ 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
```
--
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/20200507/d620a277/attachment.html>
More information about the llvm-bugs
mailing list