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

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

Snippet:

@G.1 = external global i128

define void @vpscatter_truemask_nxv4i16(<vscale x 4 x i16> %val, <vscale x 4 x ptr> %ptrs, i32 zeroext %evl) {
  %LGV = load i128, ptr @G.1, align 4
  %B = shl i128 0, %LGV
  call void @llvm.vp.scatter.nxv4i16.nxv4p0(<vscale x 4 x i16> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)
  store i128 %B, ptr @G.1, align 4
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.vp.scatter.nxv4i16.nxv4p0(<vscale x 4 x i16>, <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,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+a -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+a -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (5):

InputFunctionConfig
nontemporal-vp-scalable.2479b2f70e.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4i16_S1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O0 -verify-machineinstrs
nontemporal-vp-scalable.5f22d72257.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4i16_P1-mtriple=riscv32 -mattr=+zihintntl,+d,+zfh,+v,+zicsr -O1 -code-model=small -verify-machineinstrs
nontemporal-vp-scalable.ca0f25be3c.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4i16_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O0 -verify-machineinstrs
nontemporal-vp-scalable.e87c976890.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4i16_S1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+v,+zve32x -O0 -code-model=small -verify-machineinstrs
vpscatter-sdnode.7ced3dfe6d.ll (mutant of vpscatter-sdnode.ll)vpscatter_truemask_nxv4i16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+a -O0

Generated 2026-11-29 14:49 UTC.