fallback: translate: call llvm.vp.scatter.nxv8i8.nxv8p0

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.scatter.nxv8i8.nxv8p0 M
Occurrences:8 in 8 configs, 2 test files, 3 more counted only
Snippet from:vpscatter-sdnode.3102976813.ll (mutant of vpscatter-sdnode.ll) @vpscatter_nxv8i8 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zvfh -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global i128

define void @vpscatter_nxv8i8(<vscale x 8 x i8> %val, <vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 zeroext %evl) {
  %B = shl i128 42, -170141183460469231731687303715884105728
  call void @llvm.vp.scatter.nxv8i8.nxv8p0(<vscale x 8 x i8> %val, <vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 %evl)
  store i128 %B, ptr @G.2, align 4
  ret void
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn }

Reproduce:

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

Local llc output:

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

Occurrences (8):

InputFunctionConfig
nontemporal-vp-scalable.10fe947006.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv8i8_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O0 -verify-machineinstrs
nontemporal-vp-scalable.1267712a05.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv8i8_PALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+m -O1 -verify-machineinstrs
nontemporal-vp-scalable.1667f6a379.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv8i8_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O0 -verify-machineinstrs
nontemporal-vp-scalable.476b0f5f0a.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv8i8_P1-mtriple=riscv64 -mattr=+zihintntl,+f,+zfh,+v -O1 -verify-machineinstrs
nontemporal-vp-scalable.4a9286b99e.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv8i8_S1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zfa -O0 -verify-machineinstrs
nontemporal-vp-scalable.a4e4adc4bc.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv8i8_PALL-mtriple=riscv32 -mattr=+zihintntl,+d,+zfh,+v -O2 -verify-machineinstrs
nontemporal-vp-scalable.ab7c55a75f.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv8i8_PALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -verify-machineinstrs
vpscatter-sdnode.3102976813.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv8i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zvfh -O2

Generated 2026-11-29 14:49 UTC.