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

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

Snippet:

@G.4 = external global i32

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) {
  %LGV = load i32, ptr @G.4, align 4
  %B = mul i32 %evl, %LGV
  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)
  store i32 %B, ptr @G.4, 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=+zvfh,+zvfbfmin,+v -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+v -O0 -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.7d593a3708.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv1i32_PALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O2 -verify-machineinstrs
nontemporal-vp-scalable.9595b74f72.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv1i32_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zvfh -O3 -verify-machineinstrs
nontemporal-vp-scalable.c76f4a4c8b.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv1i32_ALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O1 -verify-machineinstrs
vpscatter-sdnode.5a9a2ba02d.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m,+zicsr,+zvkb -O3 -code-model=medium
vpscatter-sdnode.8f7ce77fa1.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1i32-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+a -O1
vpscatter-sdnode.af38306f39.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1i32-mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+v -O0

Generated 2026-11-29 14:49 UTC.