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

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

Snippet:

define void @vector_interleave_store_v4f32_v2f32(<2 x float> %a, <2 x float> %b, ptr %p) {
  %res = call <4 x float> @llvm.vector.interleave2.v4f32(<2 x float> %a, <2 x float> %b)
  store <4 x float> %res, ptr %p, align 16
  ret void
}

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

Occurrences (22) (first 15):

InputFunctionConfig
fixed-vectors-interleave-store.llvector_interleave_store_v4f32_v2f32-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8f32_v4f32-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v4f32_v2f32-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8f32_v4f32-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v4f32_v2f32-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8f32_v4f32-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v4f32_v2f32-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8f32_v4f32-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
sink-splat-operands.llsink_splat_fcmp-mtriple=riscv64 -mattr=+m,+v,+f -target-abi=lp64f
sink-splat-operands.llsink_splat_vp_fcmp-mtriple=riscv64 -mattr=+m,+v,+f -target-abi=lp64f
fixed-vectors-interleave-store.27f5a11e00.ll (mutant of fixed-vectors-interleave-store.ll)vector_interleave_store_v8f32_v4f32-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.6728c2a30d.ll (mutant of fixed-vectors-interleave-store.ll)vector_interleave_store_v8f32_v4f32-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.7f38b170c6.ll (mutant of fixed-vectors-interleave-store.ll)vector_interleave_store_v8f32_v4f32-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.a81e9f800f.ll (mutant of fixed-vectors-interleave-store.ll)vector_interleave_store_v8f32_v4f32-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-strided-vpstore.4232cc6a28.ll (mutant of fixed-vectors-strided-vpstore.ll)strided_vpstore_v2f32-mtriple=riscv64 -mattr=+m,+d,+v,+zvfhmin,+zvfbfmin -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.