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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.scatter.nxv4i64.nxv4p0 M
Occurrences:7 in 7 configs, 2 test files, 5 more counted only
Snippet from:vpscatter-sdnode.ac26ce240d.ll (mutant of vpscatter-sdnode.ll) @vpscatter_truemask_nxv4i64 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m -O3
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i64

define void @vpscatter_truemask_nxv4i64(<vscale x 4 x i64> %val, <vscale x 4 x ptr> %ptrs, i32 zeroext %evl) {
  %B = sub i64 4294967296, 0
  call void @llvm.vp.scatter.nxv4i64.nxv4p0(<vscale x 4 x i64> %val, <vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)
  store i64 %B, ptr @G, align 4
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.vp.scatter.nxv4i64.nxv4p0(<vscale x 4 x i64>, <vscale x 4 x ptr>, <vscale x 4 x i1>, i32) #0

attributes #0 = { nocallback nofree nosync nounwind willreturn }

Reproduce:

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

Local llc output:

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

Occurrences (7):

InputFunctionConfig
nontemporal-vp-scalable.41862ab200.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4i64_PALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+v,+c,+zfhmin -O0 -verify-machineinstrs
nontemporal-vp-scalable.be2ef0de63.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4i64_P1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+zve32x -O3 -verify-machineinstrs
nontemporal-vp-scalable.c5823515b9.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4i64_P1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+v,+zfa -O2 -verify-machineinstrs
vpscatter-sdnode.60ef6d09e6.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zba,+zicsr -O0
vpscatter-sdnode.95bdb5c4b0.ll (mutant of vpscatter-sdnode.ll)vpscatter_truemask_nxv4i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb -O3
vpscatter-sdnode.ac26ce240d.ll (mutant of vpscatter-sdnode.ll)vpscatter_truemask_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m -O3
vpscatter-sdnode.c4b7f54899.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv4i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m -O1

Generated 2026-11-29 14:49 UTC.