| Run: | main-b577f07195-20261129-101839 |
| Kind: | crash |
| Category: | Assertion failed: (DstTy.getElementType() == SubVecTy.getElementType() && "Insert subvector VTs must have the same element type!"), function buildInstr, file MachineIRBuilder.cpp |
| Occurrences: | 36 in 18 configs, 9 test files |
| Snippet from: | fixed-vectors-trunc-vp.ll @vtrunc_v2i7_v2i8 via llvm-extract + llvm-reduce |
| Config: | -mtriple=riscv32 -mattr=+v,+m -verify-machineinstrs |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | https://godbolt.org/z/h61TqrfjK (llc-assertions-trunk, checked 2026-10-25 18:43 UTC): G reproduces |
define <2 x i7> @vtrunc_v2i7_v2i8() {
ret <2 x i7> zeroinitializer
}
| Pane | Options | Exit | Insts | stderr |
|---|---|---|---|---|
| GlobalISel | -mtriple=riscv32 -mattr=+v,+m -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* | 134 | 0 | llc: /root/llvm-project/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp:1486: virtual llvm::MachineInstrBuilder llvm::MachineIRBuilder::buildInstr(unsigned int, llvm::ArrayRef<llvm::DstOp>, llvm::ArrayRef<llvm::SrcOp>, std::optional<unsigned int>): Assertion `DstTy.getElementType() == SubVecTy.getElementType() && "Insert subvector VTs must have the same element type!"' failed. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug. Stack dump: |
| SelectionDAG (control) | -mtriple=riscv32 -mattr=+v,+m -verify-machineinstrs -global-isel=0 | 0 | 3 | - |
llc -mtriple=riscv32 -mattr=+v,+m -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o - llc -mtriple=riscv32 -mattr=+v,+m -verify-machineinstrs -global-isel=0 snippet.ll -o -
llc: /home/runner/work/llvm-fuzz/llvm-fuzz/llvm-project/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp:1498: virtual MachineInstrBuilder llvm::MachineIRBuilder::buildInstr(unsigned int, ArrayRef<DstOp>, ArrayRef<SrcOp>, std::optional<unsigned int>): Assertion `DstTy.getElementType() == SubVecTy.getElementType() && "Insert subvector VTs must have the same element type!"' failed. PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace and instructions to reproduce the bug. Stack dump: 0. Program arguments: /home/runner/work/llvm-fuzz/llvm-fuzz/llvm-project/build/bin/llc -mtriple=riscv32 -mattr=+v,+m -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* -o - 1. Running pass 'Function Pass Manager' on module '<stdin>'. 2. Running pass 'IRTranslator' on function '@vtrunc_v2i7_v2i8' Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): 0 llc 0x0000557ab08d29eb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 llc 0x0000557ab08cf9c1 llvm::sys::RunSignalHandlers() + 369 2 llc 0x0000557ab08d346b 3 libc.so.6 0x00007f8362645330 4 libc.so.6 0x00007f836269ebec pthread_kill + 284 5 libc.so.6 0x00007f836264527e gsignal + 30 6 libc.so.6 0x00007f83626288ff abort + 223 7 libc.so.6 0x00007f836262881b 8 libc.so.6 0x00007f836263b517 9 llc 0x0000557ab124bc34 llvm::MachineIRBuilder::buildInstr(unsigned int, llvm::ArrayRef<llvm::DstOp>, llvm::ArrayRef<llvm::SrcOp>, std::optional<unsigned int>) + 12436 10 llc 0x0000557ab115801d llvm::CSEMIRBuilder::buildInstr(unsigned int, llvm::ArrayRef<llvm::DstOp>, llvm::ArrayRef<llvm::SrcOp>, std::optional<unsigned int>) + 2989 11 llc 0x0000557ab124759c llvm::MachineIRBuilder::buildInsertSubvector(llvm::DstOp const&, llvm::SrcOp const&, llvm::SrcOp const&, unsigned int) + 92 12 llc 0x0000557aaef3d567 13 llc 0x0000557ab114ed01 llvm::CallLowering::handleAssignments(llvm::CallLowering::ValueHandler&, llvm::SmallVectorImpl<llvm::CallLowering::ArgInfo>&, llvm::CCState&, llvm::SmallVectorImpl<llvm::CCValAssign>&, llvm::MachineIRBuilder&, llvm::ArrayRef<llvm::Register>) const + 5377 14 llc 0x0000557aaef3979d 15 llc 0x0000557ab11aa31f llvm::IRTranslatorImpl::translateRet(llvm::User const&, llvm::MachineIRBuilder&) + 239 16 llc 0x0000557ab11c21cd llvm::IRTranslatorImpl::runOnMachineFunction(llvm::MachineFunction&, llvm::function_ref<llvm::GISelCSEInfo* ()>, bool, llvm::function_ref<llvm::AAResults* ()>, llvm::function_ref<llvm::BranchProbabilityInfo* ()>, llvm::function_ref<llvm::AssumptionCache* ()>, llvm::TargetLibraryInfo*, llvm::LibcallLoweringInfo const*, llvm::SSPLayoutInfo*) + 4205 17 llc 0x0000557ab11c31bd llvm::IRTranslatorLegacy::runOnMachineFunction(llvm::MachineFunction&) + 733 18 llc 0x0000557aaf54c6b1 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 513 19 llc 0x0000557aafae7b37 llvm::FPPassManager::runOnFunction(llvm::Function&) + 871 20 llc 0x0000557aafaf0052 llvm::FPPassManager::runOnModule(llvm::Module&) + 50 21 llc 0x0000557aafae88e0 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 2000 22 llc 0x0000557aaed43149 23 llc 0x0000557aaed402d3 main + 1747 24 libc.so.6 0x00007f836262a1ca 25 libc.so.6 0x00007f836262a28b __libc_start_main + 139 26 llc 0x0000557aaed3f3e5 _start + 37
| Input | Function | Config |
|---|---|---|
| fixed-vectors-bitextract.ll | -mtriple=riscv32 -mattr=+v | |
| fixed-vectors-bitextract.ll | -mtriple=riscv64 -mattr=+v | |
| fixed-vectors-fp2i.ll | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs | |
| fixed-vectors-fp2i.ll | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfh,+zvfbfmin,+f,+d -verify-machineinstrs | |
| fixed-vectors-fp2i.ll | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -verify-machineinstrs | |
| fixed-vectors-fp2i.ll | -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+experimental-zvfbfa,+f,+d -verify-machineinstrs | |
| fixed-vectors-fp2i.ll | -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfh,+zvfbfmin,+f,+d -verify-machineinstrs | |
| fixed-vectors-fp2i.ll | -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zvfhmin,+zvfbfmin,+f,+d -verify-machineinstrs | |
| fixed-vectors-fptosi-vp.ll | -mtriple=riscv32 -mattr=+m,+v,+zvfh | |
| fixed-vectors-fptosi-vp.ll | -mtriple=riscv32 -mattr=+m,+v,+zvfhmin | |
| fixed-vectors-fptosi-vp.ll | -mtriple=riscv64 -mattr=+m,+v,+zvfh | |
| fixed-vectors-fptosi-vp.ll | -mtriple=riscv64 -mattr=+m,+v,+zvfhmin | |
| fixed-vectors-fptoui-vp.ll | -mtriple=riscv32 -mattr=+m,+v,+zvfh | |
| fixed-vectors-fptoui-vp.ll | -mtriple=riscv32 -mattr=+m,+v,+zvfhmin | |
| fixed-vectors-fptoui-vp.ll | -mtriple=riscv64 -mattr=+m,+v,+zvfh |
Generated 2026-11-29 14:49 UTC.