fallback: translate: call llvm.vp.scatter.nxv1i32.nxv1p0

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.scatter.nxv1i32.nxv1p0 M
Occurrences:6 in 5 configs, 2 test files, 6 more counted only
Snippet from:vpscatter-sdnode.a3d18d625e.ll (mutant of vpscatter-sdnode.ll) @vpscatter_nxv1i32 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @vpscatter_nxv1i32(<vscale x 1 x i32> %val, <vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.scatter.nxv1i32.nxv1p0(<vscale x 1 x i32> %val, <vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> %m, i32 %evl)
  %B = urem i32 %evl, %evl
  store i32 %B, ptr poison, align 4
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.scatter.nxv1i32.nxv1p0: '  call void @llvm.vp.scatter.nxv1i32.nxv1p0(<vscale x 1 x i32> %val, <vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> %m, i32 %evl)' (in function: vpscatter_nxv1i32)
warning: Instruction selection used fallback path for vpscatter_nxv1i32

Occurrences (6):

InputFunctionConfig
nontemporal-vp-scalable.55cd71e81d.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv1i32_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zbkb -O2 -verify-machineinstrs
nontemporal-vp-scalable.ba4ffef90f.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv1i32_ALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -verify-machineinstrs
nontemporal-vp-scalable.d5748c74dc.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv1i32_P1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O2 -verify-machineinstrs
nontemporal-vp-scalable.eb36b0c390.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv1i32_PALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -verify-machineinstrs
vpscatter-sdnode.04643fd4cf.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1i32-mtriple=riscv64 -verify-machineinstrs -mattr=+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zbb -O0
vpscatter-sdnode.a3d18d625e.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m -O3

Generated 2026-11-29 14:49 UTC.