fallback: translate: call llvm.vp.gather.nxv8f64.nxv8p0

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.gather.nxv8f64.nxv8p0 M
Occurrences:3 in 3 configs, 2 test files, 4 more counted only
Snippet from:vpgather-sdnode.8dd8254d7b.ll (mutant of vpgather-sdnode.ll) @vpgather_nxv8f64 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zbb -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x double> @vpgather_nxv8f64(<vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 zeroext %evl) {
  %A = alloca double, align 8
  store double poison, ptr %A, align 8
  %v = call <vscale x 8 x double> @llvm.vp.gather.nxv8f64.nxv8p0(<vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 %evl)
  %E = extractelement <vscale x 8 x double> %v, i32 %evl
  store double %E, ptr %A, align 8
  ret <vscale x 8 x double> %v
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 8 x double> @llvm.vp.gather.nxv8f64.nxv8p0(<vscale x 8 x ptr>, <vscale x 8 x i1>, i32) #0

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(read) }

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv8f64.nxv8p0: '  %v = call <vscale x 8 x double> @llvm.vp.gather.nxv8f64.nxv8p0(<vscale x 8 x ptr> %ptrs, <vscale x 8 x i1> %m, i32 %evl)' (in function: vpgather_nxv8f64)
warning: Instruction selection used fallback path for vpgather_nxv8f64

Occurrences (3):

InputFunctionConfig
nontemporal-vp-scalable.2479b2f70e.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv8f64_PALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O0 -verify-machineinstrs
nontemporal-vp-scalable.6a6b4f3a73.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_gather_nxv8f64_ALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O1 -verify-machineinstrs
vpgather-sdnode.8dd8254d7b.ll (mutant of vpgather-sdnode.ll)vpgather_nxv8f64-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zbb -O1

Generated 2026-11-29 14:49 UTC.