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

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

Snippet:

@G = external global i128
@G.1 = external global i128

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) {
  %LGV1 = load i128, ptr @G.1, align 4
  %LGV = load i128, ptr @G, align 4
  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)
  %B = sub i128 %LGV, %LGV1
  store i128 %B, ptr poison, align 4
  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=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfbfmin,+v,+m,+zvbb,+zbs -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfbfmin,+v,+m,+zvbb,+zbs -O1 -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.675e114c82.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.7e70b6bf50.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f64_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zfa -O2 -verify-machineinstrs
nontemporal-vp-scalable.82e23be8eb.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_scatter_nxv2f64_DEFAULT-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+zicsr -O0 -code-model=medium -verify-machineinstrs
vpscatter-sdnode.77ea601edf.ll (mutant of vpscatter-sdnode.ll)vpscatter_nxv2f64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfbfmin,+v,+m,+zvbb,+zbs -O1

Generated 2026-11-29 14:49 UTC.