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

Run:main-db12fc36f6-20261127-110859
Kind:fallback
Category:legalize: G_INTRINSIC_W_SIDE_EFFECTS <N x f16>,p0,<N x i1>
Occurrences:36 in 14 configs, 4 test files
Snippet from:fixed-vectors-interleave-store.ll @vector_interleave_store_v4f16_v2f16 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_v4f16_v2f16(<2 x half> %a, <2 x half> %b, ptr %p) {
  %res = call <4 x half> @llvm.vector.interleave2.v4f16(<2 x half> %a, <2 x half> %b)
  store <4 x half> %res, ptr %p, align 8
  ret void
}

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

Occurrences (36) (first 15):

InputFunctionConfig
fixed-vectors-interleave-store.llvector_interleave_store_v4f16_v2f16-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8f16_v4f16-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v16f16_v8f16-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v4f16_v2f16-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8f16_v4f16-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v16f16_v8f16-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v4f16_v2f16-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8f16_v4f16-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v16f16_v8f16-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v4f16_v2f16-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8f16_v4f16-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v16f16_v8f16-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-compressstore-fp.4971202a11.ll (mutant of fixed-vectors-compressstore-fp.ll)compressstore_v8f16-mtriple=riscv64 -mattr=+m,+v,+f,+d,+zvfh -verify-machineinstrs
fixed-vectors-compressstore-fp.4a24e53d03.ll (mutant of fixed-vectors-compressstore-fp.ll)compressstore_v8f16-mtriple=riscv32 -mattr=+m,+v,+f,+d,+zvfh -verify-machineinstrs
fixed-vectors-compressstore-fp.74c1a62552.ll (mutant of fixed-vectors-compressstore-fp.ll)compressstore_v4f16-mtriple=riscv64 -mattr=+m,+v,+f,+d,+zvfh -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.