fallback: legalize: G_INTRINSIC_W_SIDE_EFFECTS <N x i32>,p0,<N x i1>

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:legalize: G_INTRINSIC_W_SIDE_EFFECTS <N x i32>,p0,<N x i1>
Occurrences:111 in 30 configs, 23 test files
Snippet from:fixed-vectors-interleave-store.ll @vector_interleave_store_v8i32_v4i32 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @vector_interleave_store_v8i32_v4i32(<4 x i32> %a, <4 x i32> %b, ptr %p) {
  %res = call <8 x i32> @llvm.vector.interleave2.v8i32(<4 x i32> %a, <4 x i32> %b)
  store <8 x i32> %res, ptr %p, align 32
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <8 x i32> @llvm.vector.interleave2.v8i32(<4 x i32>, <4 x i32>) #0

attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

Reproduce:

llc -mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to legalize instruction: G_INTRINSIC_W_SIDE_EFFECTS intrinsic(@llvm.riscv.seg2.store.mask), %0:_(<4 x i32>), %1:_(<4 x i32>), %2:_(p0), %5:_(<4 x i1>), %7:_(i32) :: (store unknown-size into %ir.p, align 4) (in function: vector_interleave_store_v8i32_v4i32)
warning: Instruction selection used fallback path for vector_interleave_store_v8i32_v4i32

Occurrences (111) (first 15):

InputFunctionConfig
di-assignment-tracking-vector.llfoo-mtriple=riscv64 -enable-misched=false
fixed-vectors-interleave-store.llvector_interleave_store_v8i32_v4i32-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_factor3-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_factor4-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_factor5-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_factor6-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_factor7-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_factor8-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8i32_v4i32-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_factor3-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_factor4-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_factor5-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_factor6-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_factor7-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_factor8-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin

Generated 2026-11-29 14:49 UTC.