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

Run:main-b577f07195-20261129-101839
Kind:fallback
Category:legalize: G_INTRINSIC_W_SIDE_EFFECTS <N x bf16>,p0,<N x i1>
Occurrences:24 in 8 configs, 2 test files
Snippet from:fixed-vectors-interleave-store.ll @vector_interleave_store_v4bf16_v2bf16 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_v4bf16_v2bf16(<2 x bfloat> %a, <2 x bfloat> %b, ptr %p) {
  %res = call <4 x bfloat> @llvm.vector.interleave2.v4bf16(<2 x bfloat> %a, <2 x bfloat> %b)
  store <4 x bfloat> %res, ptr %p, align 8
  ret void
}

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

Occurrences (24) (first 15):

InputFunctionConfig
fixed-vectors-interleave-store.llvector_interleave_store_v4bf16_v2bf16-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8bf16_v4bf16-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v16bf16_v8bf16-mtriple=riscv32 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v4bf16_v2bf16-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8bf16_v4bf16-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v16bf16_v8bf16-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v4bf16_v2bf16-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8bf16_v4bf16-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v16bf16_v8bf16-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v4bf16_v2bf16-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v8bf16_v4bf16-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-interleave-store.llvector_interleave_store_v16bf16_v8bf16-mtriple=riscv64 -mattr=+v,+zvfhmin,+zvfbfmin
fixed-vectors-masked-store-fp.0ee010fd83.ll (mutant of fixed-vectors-masked-store-fp.ll)masked_store_v4bf16-mtriple=riscv64 -mattr=+v,+zvfh,+zvfbfmin -verify-machineinstrs
fixed-vectors-masked-store-fp.38d2994aa5.ll (mutant of fixed-vectors-masked-store-fp.ll)masked_store_v8bf16-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs
fixed-vectors-masked-store-fp.38d2994aa5.ll (mutant of fixed-vectors-masked-store-fp.ll)masked_store_v16bf16-mtriple=riscv32 -mattr=+v,+zvfhmin,+zvfbfmin -verify-machineinstrs

Generated 2026-11-29 14:49 UTC.