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

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

Snippet:

@G.1 = external global i16

define void @vpscatter_nxv1i16(<vscale x 1 x i16> %val, <vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.scatter.nxv1i16.nxv1p0(<vscale x 1 x i16> %val, <vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> %m, i32 %evl)
  %B = mul i16 42, -1
  store i16 %B, ptr @G.1, align 2
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.vp.scatter.nxv1i16.nxv1p0(<vscale x 1 x i16>, <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,+zvfhmin,+zvfbfmin,+v,+m -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+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.nxv1i16.nxv1p0: '  call void @llvm.vp.scatter.nxv1i16.nxv1p0(<vscale x 1 x i16> %val, <vscale x 1 x ptr> %ptrs, <vscale x 1 x i1> %m, i32 %evl)' (in function: vpscatter_nxv1i16)
warning: Instruction selection used fallback path for vpscatter_nxv1i16

Occurrences (6):

InputFunctionConfig
nontemporal-vp-scalable.2d0efd8631.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv1i16_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zbs -O1 -verify-machineinstrs
nontemporal-vp-scalable.ed0073be0e.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv1i16_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+zfh,+v -O2 -verify-machineinstrs
nontemporal-vp-scalable.f2eefa20cf.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv1i16_S1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O0 -verify-machineinstrs
vpscatter-sdnode.097fed39c5.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1i16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O2
vpscatter-sdnode.0d1f5f1a9b.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O3
vpscatter-sdnode.2bea8c7f2b.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv1i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O0

Generated 2026-11-29 14:49 UTC.