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

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.scatter.nxv4f16.nxv4p0 M
Occurrences:5 in 4 configs, 1 test files, 4 more counted only
Snippet from:vpscatter-sdnode.5baa5537c1.ll (mutant of vpscatter-sdnode.ll) @vpscatter_nxv4f16 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+a -O3 -code-model=small
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define void @vpscatter_nxv4f16(<vscale x 4 x half> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.scatter.nxv4f16.nxv4p0(<vscale x 4 x half> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> %m, i32 %evl)
  %B = udiv <vscale x 4 x i1> %m, %m
  store <vscale x 4 x i1> %B, ptr poison, align 1
  ret void
}

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

Local llc output:

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

Occurrences (5):

InputFunctionConfig
vpscatter-sdnode.5baa5537c1.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv4f16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+a -O3 -code-model=small
vpscatter-sdnode.876273d339.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv4f16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zve64d -O2
vpscatter-sdnode.af5303a16e.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv4f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m -O3
vpscatter-sdnode.d27dfc6907.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv4f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O3
vpscatter-sdnode.fce936dddd.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv4f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O3

Generated 2026-11-29 14:49 UTC.