fallback: legalize: G_INTRINSIC <N x i32>,<N x i32>

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_INTRINSIC <N x i32>,<N x i32> M
Occurrences:4 in 4 configs, 1 test files
Snippet from:fixed-vectors-interleave-store.b1ea0aa760.ll (mutant of fixed-vectors-interleave-store.ll) @vector_interleave_store_factor4 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:

@G.4 = external global <16 x i32>

define void @vector_interleave_store_factor4(<4 x i32> %a, <4 x i32> %b, <4 x i32> %c, <4 x i32> %d, ptr %p) {
  %v = call <16 x i32> @llvm.vector.interleave4.v16i32(<4 x i32> %a, <4 x i32> %b, <4 x i32> %c, <4 x i32> %d)
  %B = or <16 x i32> %v, %v
  store <16 x i32> %v, ptr %p, align 64
  store <16 x i32> %B, ptr @G.4, align 64
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <16 x i32> @llvm.vector.interleave4.v16i32(<4 x i32>, <4 x i32>, <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: %9:_(<16 x i32>) = G_INTRINSIC intrinsic(@llvm.vector.interleave4), %0:_(<4 x i32>), %1:_(<4 x i32>), %2:_(<4 x i32>), %3:_(<4 x i32>) (in function: vector_interleave_store_factor4)
warning: Instruction selection used fallback path for vector_interleave_store_factor4

Occurrences (4):

InputFunctionConfig
fixed-vectors-interleave-store.b1ea0aa760.ll (mutant of fixed-vectors-interleave-store.ll)vector_interleave_store_factor4-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.bb3cab4ec6.ll (mutant of fixed-vectors-interleave-store.ll)vector_interleave_store_factor4-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.d0b83b4f44.ll (mutant of fixed-vectors-interleave-store.ll)vector_interleave_store_factor4-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.e5a20b36f8.ll (mutant of fixed-vectors-interleave-store.ll)vector_interleave_store_factor4-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin

Generated 2026-11-29 14:49 UTC.