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

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_INTRINSIC_W_SIDE_EFFECTS <N x i16>,p0,<N x i1>
Occurrences:22 in 18 configs, 7 test files
Snippet from:fixed-vectors-interleave-store.ll @vector_interleave_store_v16i16_v8i16 via llvm-extract
Config:-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @vector_interleave_store_v16i16_v8i16(<8 x i16> %a, <8 x i16> %b, ptr %p) {
  %res = call <16 x i16> @llvm.vector.interleave2.v16i16(<8 x i16> %a, <8 x i16> %b)
  store <16 x i16> %res, ptr %p, align 32
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <16 x i16> @llvm.vector.interleave2.v16i16(<8 x i16>, <8 x i16>) #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:_(<8 x i16>), %1:_(<8 x i16>), %2:_(p0), %5:_(<8 x i1>), %7:_(i32) :: (store unknown-size into %ir.p, align 2) (in function: vector_interleave_store_v16i16_v8i16)
warning: Instruction selection used fallback path for vector_interleave_store_v16i16_v8i16

Occurrences (22) (first 15):

InputFunctionConfig
fixed-vectors-interleave-store.llvector_interleave_store_v16i16_v8i16-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v16i16_v8i16-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v16i16_v8i16-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v16i16_v8i16-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
compressstore.6ba7aba251.ll (mutant of compressstore.ll)test_compresstore_v4i16-verify-machineinstrs -mtriple=riscv64 -mattr=+v,+d,+m,+zbb
compressstore.8ef78dfc52.ll (mutant of compressstore.ll)test_compresstore_v4i16-verify-machineinstrs -mtriple=riscv32 -mattr=+v,+d,+m,+zbb
fixed-vectors-interleave-store.b1ea0aa760.ll (mutant of fixed-vectors-interleave-store.ll)vector_interleave_store_v16i16_v8i16-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.bb3cab4ec6.ll (mutant of fixed-vectors-interleave-store.ll)vector_interleave_store_v16i16_v8i16-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.d0b83b4f44.ll (mutant of fixed-vectors-interleave-store.ll)vector_interleave_store_v16i16_v8i16-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.e5a20b36f8.ll (mutant of fixed-vectors-interleave-store.ll)vector_interleave_store_v16i16_v8i16-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleaved-access.0840541dd2.ll (mutant of fixed-vectors-interleaved-access.ll)store_factor7-mtriple=riscv64 -mattr=+v,m -O2
fixed-vectors-interleaved-access.164c0997b8.ll (mutant of fixed-vectors-interleaved-access.ll)store_factor7-mtriple=riscv32 -mattr=+v,m -O2
fixed-vectors-masked-scatter.6f778e578c.ll (mutant of fixed-vectors-masked-scatter.ll)mscatter_unit_stride_with_offset-mtriple=riscv64 -mattr=+m,+d,+zvfh,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b -target-abi=lp64d -verify-machineinstrs
fixed-vectors-masked-scatter.7e2f6df4fd.ll (mutant of fixed-vectors-masked-scatter.ll)mscatter_unit_stride_with_offset-mtriple=riscv64 -mattr=+m,+d,+zfhmin,+zvfhmin,+zfbfmin,+zvfbfmin,+zve32f,+zvl128b -target-abi=lp64d -verify-machineinstrs
fixed-vectors-masked-store-int.5c016ccca1.ll (mutant of fixed-vectors-masked-store-int.ll)masked_store_v2i16-mtriple=riscv32 -mattr=+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.