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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.scatter.nxv8i8.nxv8p0 M
Occurrences:4 in 4 configs, 1 test files, 5 more counted only
Snippet from:vpscatter-sdnode.adfacb0a47.ll (mutant of vpscatter-sdnode.ll) @vpscatter_nxv8i8 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zvfh,+zicsr -O3 -code-model=medium
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global <2 x i64>

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 = and <2 x i64> splat (i64 42), splat (i64 1)
  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 <2 x i64> %B, ptr @G.2, align 16
  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,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zvfh,+zicsr -O3 -code-model=medium -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,+zvfh,+zicsr -O3 -code-model=medium -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 (4):

InputFunctionConfig
vpscatter-sdnode.95bdb5c4b0.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv8i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O3
vpscatter-sdnode.adfacb0a47.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv8i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zvfh,+zicsr -O3 -code-model=medium
vpscatter-sdnode.af38306f39.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv8i8-mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+v -O0
vpscatter-sdnode.b639caca71.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv8i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m,+zihintpause,+zvkb -O2

Generated 2026-11-29 14:49 UTC.