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

Run:main-d9924131a4-20261128-102057
Kind:fallback
Category:legalize: G_INTRINSIC_W_SIDE_EFFECTS <N x i8>,p0,<N x i1>
Occurrences:78 in 22 configs, 11 test files
Snippet from:fixed-vectors-segN-store.ll @store_factor2 via llvm-extract
Config:-mtriple=riscv64 -mattr=+v -verify-machineinstrs
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @store_factor2(<8 x i8> %v0, <8 x i8> %v1, ptr %ptr) {
  call void @llvm.riscv.seg2.store.mask.v8i8.p0.i64(<8 x i8> %v0, <8 x i8> %v1, ptr %ptr, <8 x i1> splat (i1 true), i64 8)
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(write)
declare void @llvm.riscv.seg2.store.mask.v8i8.p0.i64(<8 x i8>, <8 x i8>, ptr captures(none), <8 x i1>, i64) #0

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(write) }

Reproduce:

llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+v -verify-machineinstrs -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:_(<8 x i8>), %1:_(<8 x i8>), %2:_(p0), %5:_(<8 x i1>), %7:_(i64) :: (store unknown-size into %ir.ptr, align 1) (in function: store_factor2)
warning: Instruction selection used fallback path for store_factor2

Occurrences (78) (first 15):

InputFunctionConfig
fixed-vectors-segN-store.llstore_factor2-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-segN-store.llstore_factor3-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-segN-store.llstore_factor4-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-segN-store.llstore_factor5-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-segN-store.llstore_factor6-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-segN-store.llstore_factor7-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-segN-store.llstore_factor8-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-ssegN-store.llstore_factor2-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-ssegN-store.llstore_factor3-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-ssegN-store.llstore_factor4-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-ssegN-store.llstore_factor5-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-ssegN-store.llstore_factor6-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-ssegN-store.llstore_factor7-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-ssegN-store.llstore_factor8-mtriple=riscv64 -mattr=+v -verify-machineinstrs
fixed-vectors-strided-load-store-asm.llscatter-mtriple=riscv64 -mattr=+m,+f,+zve32f,+optimized-zero-stride-load,+zvl256b

Generated 2026-11-29 14:49 UTC.