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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.scatter.nxv4i64.nxv4p0 M
Occurrences:9 in 8 configs, 2 test files, 1 more counted only
Snippet from:vpscatter-sdnode.7429c92798.ll (mutant of vpscatter-sdnode.ll) @vpscatter_truemask_nxv4i64 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zbs -O2
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.1 = external global i32

define void @vpscatter_truemask_nxv4i64(<vscale x 4 x i64> %val, <vscale x 4 x ptr> %ptrs, i32 zeroext %evl) {
  %B = ashr i32 %evl, 42
  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 i32 %B, ptr @G.1, 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=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zbs -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zbs -O2 -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 (9):

InputFunctionConfig
nontemporal-vp-scalable.47b3bff141.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4i64_ALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c,+a -O1 -verify-machineinstrs
nontemporal-vp-scalable.4dbae4fa80.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4i64_S1-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zbb -O3 -verify-machineinstrs
nontemporal-vp-scalable.872ddb699e.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4i64_P1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O3 -verify-machineinstrs
nontemporal-vp-scalable.f36b08a3c7.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv4i64_ALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O3 -verify-machineinstrs
vpscatter-sdnode.0d20cc062d.ll (mutant of vpscatter-sdnode.ll)vpscatter_truemask_nxv4i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m -O1
vpscatter-sdnode.15adf43231.ll (mutant of vpscatter-sdnode.ll)vpscatter_truemask_nxv4i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zbb,+zicsr -O0
vpscatter-sdnode.48dc2cf1a4.ll (mutant of vpscatter-sdnode.ll)vpscatter_truemask_nxv4i64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+m -O1
vpscatter-sdnode.7429c92798.ll (mutant of vpscatter-sdnode.ll)vpscatter_truemask_nxv4i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+zbs -O2
vpscatter-sdnode.7ced3dfe6d.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv4i64-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+m,+zvbb,+a -O0

Generated 2026-11-29 14:49 UTC.