| Run: | explore-b577f07195-20261129-105236 |
| Kind: | crash |
| Category: | Assertion failed: (Val.getLLTTy(*getMRI()).isValid() && "invalid operand type"), function buildStore, file MachineIRBuilder.cpp M |
| Occurrences: | 3 in 3 configs, 3 test files, 7 more counted only |
| Snippet from: | vlsseg-rv32.fa750ec708.ll (mutant of vlsseg-rv32.ll) @test_vlsseg4_mask_nxv8bf16_triscv.vector.tuple_nxv16i8_4t via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin,+zbkb,+xtheadba -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | https://godbolt.org/z/qWoh6KfKa (llc-assertions-trunk, checked 2026-11-29 14:49 UTC): G reproduces |
define <vscale x 8 x bfloat> @test_vlsseg4_mask_nxv8bf16_triscv.vector.tuple_nxv16i8_4t(ptr %base, i32 %offset, i32 %vl, <vscale x 8 x i1> %mask) {
entry:
%A = alloca target("riscv.vector.tuple", <vscale x 16 x i8>, 4), align 64
store target("riscv.vector.tuple", <vscale x 16 x i8>, 4) poison, ptr %A, align 64
%0 = tail call target("riscv.vector.tuple", <vscale x 16 x i8>, 4) @llvm.riscv.vlsseg4.mask.triscv.vector.tuple_nxv16i8_4t.p0.i32.nxv8i1(target("riscv.vector.tuple", <vscale x 16 x i8>, 4) poison, ptr %base, i32 %offset, <vscale x 8 x i1> %mask, i32 %vl, i32 1, i32 4)
%1 = call <vscale x 8 x bfloat> @llvm.riscv.tuple.extract.nxv8bf16.triscv.vector.tuple_nxv16i8_4t(target("riscv.vector.tuple", <vscale x 16 x i8>, 4) %0, i32 1)
store target("riscv.vector.tuple", <vscale x 16 x i8>, 4) %0, ptr %A, align 64
ret <vscale x 8 x bfloat> %1
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <vscale x 8 x bfloat> @llvm.riscv.tuple.extract.nxv8bf16.triscv.vector.tuple_nxv16i8_4t(target("riscv.vector.tuple", <vscale x 16 x i8>, 4), i32 immarg) #0
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare target("riscv.vector.tuple", <vscale x 16 x i8>, 4) @llvm.riscv.vlsseg4.mask.triscv.vector.tuple_nxv16i8_4t.p0.i32.nxv8i1(target("riscv.vector.tuple", <vscale x 16 x i8>, 4), ptr captures(none), i32, <vscale x 8 x i1>, i32, i32 immarg, i32 immarg) #1
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(read) }
| Pane | Options | Exit | Insts | stderr |
|---|---|---|---|---|
| GlobalISel | -mtriple=riscv32 -verify-machineinstrs -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin,+zbkb,+xtheadba -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* | 134 | 0 | llc: /root/llvm-project/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp:522: llvm::MachineInstrBuilder llvm::MachineIRBuilder::buildStore(const llvm::SrcOp&, const llvm::SrcOp&, llvm::MachineMemOperand&): Assertion `Val.getLLTTy(*getMRI()).isValid() && "invalid operand 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 -verify-machineinstrs -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin,+zbkb,+xtheadba -O2 -global-isel=0 | 0 | 24 | - |
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin,+zbkb,+xtheadba -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o - llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin,+zbkb,+xtheadba -O2 -global-isel=0 snippet.ll -o -
llc: /home/runner/work/llvm-fuzz/llvm-fuzz/llvm-project/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp:522: MachineInstrBuilder llvm::MachineIRBuilder::buildStore(const SrcOp &, const SrcOp &, MachineMemOperand &): Assertion `Val.getLLTTy(*getMRI()).isValid() && "invalid operand 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 -verify-machineinstrs -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin,+zbkb,+xtheadba -O2 -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 '@test_vlsseg4_mask_nxv8bf16_triscv.vector.tuple_nxv16i8_4t' 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 0x0000557cd3edd9eb llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 43 1 llc 0x0000557cd3eda9c1 llvm::sys::RunSignalHandlers() + 369 2 llc 0x0000557cd3ede46b 3 libc.so.6 0x00007fb136245330 4 libc.so.6 0x00007fb13629ebec pthread_kill + 284 5 libc.so.6 0x00007fb13624527e gsignal + 30 6 libc.so.6 0x00007fb1362288ff abort + 223 7 libc.so.6 0x00007fb13622881b 8 libc.so.6 0x00007fb13623b517 9 llc 0x0000557cd484e4a9 llvm::MachineIRBuilder::buildStore(llvm::SrcOp const&, llvm::SrcOp const&, llvm::MachineMemOperand&) + 265 10 llc 0x0000557cd47bba0d llvm::IRTranslatorImpl::translateStore(llvm::User const&, llvm::MachineIRBuilder&) + 1277 11 llc 0x0000557cd47ca613 llvm::IRTranslatorImpl::translate(llvm::Instruction const&) + 611 12 llc 0x0000557cd47cd1cd 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 13 llc 0x0000557cd47ce1bd llvm::IRTranslatorLegacy::runOnMachineFunction(llvm::MachineFunction&) + 733 14 llc 0x0000557cd2b576b1 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 513 15 llc 0x0000557cd30f2b37 llvm::FPPassManager::runOnFunction(llvm::Function&) + 871 16 llc 0x0000557cd30fb052 llvm::FPPassManager::runOnModule(llvm::Module&) + 50 17 llc 0x0000557cd30f38e0 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 2000 18 llc 0x0000557cd234e149 19 llc 0x0000557cd234b2d3 main + 1747 20 libc.so.6 0x00007fb13622a1ca 21 libc.so.6 0x00007fb13622a28b __libc_start_main + 139 22 llc 0x0000557cd234a3e5 _start + 37
| Input | Function | Config |
|---|---|---|
| rv64-spill-zvlsseg.26efadd831.ll (mutant of rv64-spill-zvlsseg.ll) | -mtriple=riscv64 -mattr=+v,+prefer-vsetvli-over-read-vlenb -O0 -verify-machineinstrs | |
| vloxseg-rv32.e6fd20646d.ll (mutant of vloxseg-rv32.ll) | -mtriple=riscv32 -verify-machineinstrs -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin,+a -O3 | |
| vlsseg-rv32.fa750ec708.ll (mutant of vlsseg-rv32.ll) | -mtriple=riscv32 -verify-machineinstrs -mattr=+zve64d,+f,+d,+zvfh,+zvfbfmin,+zbkb,+xtheadba -O2 |
Generated 2026-11-29 14:49 UTC.