fallback: translate: call llvm.vp.scatter.nxv4f32.nxv4p0

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.scatter.nxv4f32.nxv4p0 M
Occurrences:6 in 6 configs, 2 test files, 2 more counted only
Snippet from:vpscatter-sdnode.27eca28f8c.ll (mutant of vpscatter-sdnode.ll) @vpscatter_truemask_nxv4f32 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @vpscatter_truemask_nxv4f32(<vscale x 4 x float> %val, <vscale x 4 x ptr> %ptrs, i32 zeroext %evl) {
  %A = alloca <8 x i8>, align 8
  store <8 x i8> poison, ptr %A, align 8
  call void @llvm.vp.scatter.nxv4f32.nxv4p0(<vscale x 4 x float> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)
  %B = udiv <8 x i8> splat (i8 -128), splat (i8 1)
  store <8 x i8> %B, ptr %A, align 8
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.vp.scatter.nxv4f32.nxv4p0(<vscale x 4 x float>, <vscale x 4 x ptr>, <vscale x 4 x i1>, i32) #0

attributes #0 = { nocallback nofree nosync nounwind willreturn }

Reproduce:

llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O1 -global-isel=0 snippet.ll -o -

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.scatter.nxv4f32.nxv4p0: '  call void @llvm.vp.scatter.nxv4f32.nxv4p0(<vscale x 4 x float> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)' (in function: vpscatter_truemask_nxv4f32)
warning: Instruction selection used fallback path for vpscatter_truemask_nxv4f32

Occurrences (6):

InputFunctionConfig
nontemporal-vp-scalable.3dd59abcaa.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4f32_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+v,+zfa -O1 -verify-machineinstrs
nontemporal-vp-scalable.4fade4d87c.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4f32_PALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O1 -verify-machineinstrs
nontemporal-vp-scalable.d76c095459.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4f32_PALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O0 -verify-machineinstrs
vpscatter-sdnode.27eca28f8c.ll (mutant of vpscatter-sdnode.ll)vpscatter_truemask_nxv4f32-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O1
vpscatter-sdnode.43c4c3d4d2.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv4f32-mtriple=riscv64 -verify-machineinstrs -mattr=+zvfbfmin,+v,+m -O0
vpscatter-sdnode.c5e518989d.ll (mutant of vpscatter-sdnode.ll)vpscatter_truemask_nxv4f32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m,+xtheadba -O3

Generated 2026-11-29 14:49 UTC.