fallback: translate: call llvm.vp.scatter.nxv2f32.nxv2p0

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.scatter.nxv2f32.nxv2p0 M
Occurrences:4 in 4 configs, 2 test files, 1 more counted only
Snippet from:vpscatter-sdnode.e4a0dcfa58.ll (mutant of vpscatter-sdnode.ll) @vpscatter_nxv2f32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+m -O3
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.3 = external global i32

define void @vpscatter_nxv2f32(<vscale x 2 x float> %val, <vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  %LGV = load i32, ptr @G.3, align 4
  %B = udiv i32 -1, %LGV
  call void @llvm.vp.scatter.nxv2f32.nxv2p0(<vscale x 2 x float> %val, <vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %B)
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.scatter.nxv2f32.nxv2p0: '  call void @llvm.vp.scatter.nxv2f32.nxv2p0(<vscale x 2 x float> %val, <vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %B)' (in function: vpscatter_nxv2f32)
warning: Instruction selection used fallback path for vpscatter_nxv2f32

Occurrences (4):

InputFunctionConfig
nontemporal-vp-scalable.1d8a0de889.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f32_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O0 -verify-machineinstrs
nontemporal-vp-scalable.658fc6893a.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f32_ALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+xtheadba -O3 -verify-machineinstrs
vpscatter-sdnode.555c4ad181.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv2f32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+m,+zfa -O0
vpscatter-sdnode.e4a0dcfa58.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv2f32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+m -O3

Generated 2026-11-29 14:49 UTC.