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

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:legalize: G_INTRINSIC_W_SIDE_EFFECTS <N x i64>,p0,<N x i1>
Occurrences:30 in 20 configs, 7 test files
Snippet from:fixed-vectors-interleave-store.ll @vector_interleave_store_v4i64_v2i64 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_v4i64_v2i64(<2 x i64> %a, <2 x i64> %b, ptr %p) {
  %res = call <4 x i64> @llvm.vector.interleave2.v4i64(<2 x i64> %a, <2 x i64> %b)
  store <4 x i64> %res, ptr %p, align 32
  ret void
}

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

Occurrences (30) (first 15):

InputFunctionConfig
fixed-vectors-interleave-store.llvector_interleave_store_v4i64_v2i64-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v4i64_v2i64-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v4i64_v2i64-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v4i64_v2i64-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-vploadff.llvploadff_v32i64-mtriple=riscv32 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs
fixed-vectors-vploadff.llvploadff_v32i64_allones_mask-mtriple=riscv32 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs
fixed-vectors-vploadff.llvploadff_v32i64-mtriple=riscv32 -mattr=+d,+zvfhmin,+zvfbfmin,+v -verify-machineinstrs
fixed-vectors-vploadff.llvploadff_v32i64_allones_mask-mtriple=riscv32 -mattr=+d,+zvfhmin,+zvfbfmin,+v -verify-machineinstrs
fixed-vectors-vploadff.llvploadff_v32i64-mtriple=riscv64 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs
fixed-vectors-vploadff.llvploadff_v32i64_allones_mask-mtriple=riscv64 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs
fixed-vectors-vploadff.llvploadff_v32i64-mtriple=riscv64 -mattr=+d,+zvfhmin,+zvfbfmin,+v -verify-machineinstrs
fixed-vectors-vploadff.llvploadff_v32i64_allones_mask-mtriple=riscv64 -mattr=+d,+zvfhmin,+zvfbfmin,+v -verify-machineinstrs
concat-vector-insert-elt.50f5df19dc.ll (mutant of concat-vector-insert-elt.ll)v4xi64_concat_vector_insert_idx2-mtriple=riscv32 -mattr=+v -target-abi=ilp32 -verify-machineinstrs
concat-vector-insert-elt.691ebac93e.ll (mutant of concat-vector-insert-elt.ll)v4xi64_concat_vector_insert_idx2-mtriple=riscv64 -mattr=+v -target-abi=lp64 -verify-machineinstrs
fixed-vectors-compressstore-int.509a37b442.ll (mutant of fixed-vectors-compressstore-int.ll)compressstore_v2i64-mtriple=riscv64 -mattr=+m,+v -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.