-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Closed as duplicate of#54424
Copy link
Labels
SVEARM Scalable Vector ExtensionsARM Scalable Vector Extensionsbackend:AArch64crashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]duplicateResolved as duplicateResolved as duplicate
Description
https://godbolt.org/z/qEz41G57b
define <vscale x 3 x i64> @err_372() {
entry:
%0 = insertelement <vscale x 3 x i64> zeroinitializer, i64 0, i64 0
ret <vscale x 3 x i64> %0
}
llc -mtriple=aarch64-none-elf -mattr=+sve2 -O2
LLVM ERROR: Unable to widen vector store
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /opt/compiler-explorer/clang-trunk/bin/llc -o /app/output.s -mtriple=aarch64-none-elf -mattr=+sve2 -O2 <source>
1. Running pass 'Function Pass Manager' on module '<source>'.
2. Running pass 'AArch64 Instruction Selection' on function '@err_372'
#0 0x0000000003c27bd8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/compiler-explorer/clang-trunk/bin/llc+0x3c27bd8)
#1 0x0000000003c24da4 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#2 0x0000732fa6642520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#3 0x0000732fa66969fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
#4 0x0000732fa6642476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
#5 0x0000732fa66287f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
#6 0x00000000007b29ba llvm::UniqueStringSaver::save(llvm::Twine const&) (.cold) StringSaver.cpp:0:0
#7 0x0000000003b7aa18 (/opt/compiler-explorer/clang-trunk/bin/llc+0x3b7aa18)
#8 0x0000000003ac18da (/opt/compiler-explorer/clang-trunk/bin/llc+0x3ac18da)
#9 0x0000000003ac19ba llvm::DAGTypeLegalizer::WidenVecOp_STORE(llvm::SDNode*) (/opt/compiler-explorer/clang-trunk/bin/llc+0x3ac19ba)
#10 0x0000000003ac1ec5 llvm::DAGTypeLegalizer::WidenVectorOperand(llvm::SDNode*, unsigned int) (/opt/compiler-explorer/clang-trunk/bin/llc+0x3ac1ec5)
#11 0x0000000003a69bf7 llvm::DAGTypeLegalizer::run() (/opt/compiler-explorer/clang-trunk/bin/llc+0x3a69bf7)
#12 0x0000000003a6a0e1 llvm::SelectionDAG::LegalizeTypes() (/opt/compiler-explorer/clang-trunk/bin/llc+0x3a6a0e1)
#13 0x00000000039d4222 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/opt/compiler-explorer/clang-trunk/bin/llc+0x39d4222)
#14 0x00000000039d6d35 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x39d6d35)
#15 0x00000000039d8bc6 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x39d8bc6)
#16 0x00000000039c6161 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x39c6161)
#17 0x0000000002c7ae3d llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x2c7ae3d)
#18 0x00000000031ff4a2 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x31ff4a2)
#19 0x00000000031ff621 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x31ff621)
#20 0x0000000003200f67 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x3200f67)
#21 0x00000000008f40c9 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
#22 0x00000000007c7b3e main (/opt/compiler-explorer/clang-trunk/bin/llc+0x7c7b3e)
#23 0x0000732fa6629d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#24 0x0000732fa6629e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#25 0x00000000008eb925 _start (/opt/compiler-explorer/clang-trunk/bin/llc+0x8eb925)
Program terminated with signal: SIGSEGV
Compiler returned: 139
Metadata
Metadata
Assignees
Labels
SVEARM Scalable Vector ExtensionsARM Scalable Vector Extensionsbackend:AArch64crashPrefer [crash-on-valid] or [crash-on-invalid]Prefer [crash-on-valid] or [crash-on-invalid]duplicateResolved as duplicateResolved as duplicate