fallback: translate: call llvm.vp.scatter.nxv2f64.nxv2p0

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

Snippet:

define void @vpscatter_nxv2f64(<vscale x 2 x double> %val, <vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  call void @llvm.vp.scatter.nxv2f64.nxv2p0(<vscale x 2 x double> %val, <vscale x 2 x ptr> %ptrs, <vscale x 2 x i1> %m, i32 %evl)
  %E = extractelement <vscale x 2 x ptr> %ptrs, i32 1
  store ptr %E, ptr poison, align 8
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.vp.scatter.nxv2f64.nxv2p0(<vscale x 2 x double>, <vscale x 2 x ptr>, <vscale x 2 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 -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 -O0 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (4):

InputFunctionConfig
nontemporal-vp-scalable.274f7f8a06.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f64_ALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O1 -verify-machineinstrs
nontemporal-vp-scalable.49a46c447c.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f64_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O0 -verify-machineinstrs
nontemporal-vp-scalable.d02e9a3208.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f64_DEFAULT-mtriple=riscv64 -mattr=+f,+d,+zfh,+v,+zfhmin -O2 -verify-machineinstrs
vpscatter-sdnode.6c5366e678.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv2f64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O0

Generated 2026-11-29 14:49 UTC.