fallback: translate: call llvm.vp.gather.nxv4f16.nxv4p0

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.gather.nxv4f16.nxv4p0 M
Occurrences:5 in 5 configs, 1 test files, 2 more counted only
Snippet from:vpgather-sdnode.fb5a628e05.ll (mutant of vpgather-sdnode.ll) @vpgather_truemask_nxv4f16 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+zfhmin -O1
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 4 x half> @vpgather_truemask_nxv4f16(<vscale x 4 x ptr> %ptrs, i32 zeroext %evl) {
  %v = call <vscale x 4 x half> @llvm.vp.gather.nxv4f16.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)
  %B = fdiv <vscale x 4 x half> %v, %v
  ret <vscale x 4 x half> %B
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(read)
declare <vscale x 4 x half> @llvm.vp.gather.nxv4f16.nxv4p0(<vscale x 4 x ptr>, <vscale x 4 x i1>, i32) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.gather.nxv4f16.nxv4p0: '  %v = call <vscale x 4 x half> @llvm.vp.gather.nxv4f16.nxv4p0(<vscale x 4 x ptr> %ptrs, <vscale x 4 x i1> splat (i1 true), i32 %evl)' (in function: vpgather_truemask_nxv4f16)
warning: Instruction selection used fallback path for vpgather_truemask_nxv4f16

Occurrences (5):

InputFunctionConfig
vpgather-sdnode.09e8bab996.ll (mutant of vpgather-sdnode.ll)vpgather_truemask_nxv4f16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+zve64d -O1
vpgather-sdnode.47a3e98826.ll (mutant of vpgather-sdnode.ll)vpgather_truemask_nxv4f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+zbb -O0
vpgather-sdnode.b00c8996d2.ll (mutant of vpgather-sdnode.ll)vpgather_nxv4f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zihintpause -O3
vpgather-sdnode.b81c9ef44a.ll (mutant of vpgather-sdnode.ll)vpgather_truemask_nxv4f16-mtriple=riscv32 -verify-machineinstrs -mattr=+zvfhmin,+zvfbfmin,+v -O3
vpgather-sdnode.fb5a628e05.ll (mutant of vpgather-sdnode.ll)vpgather_truemask_nxv4f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zfh,+zvfhmin,+zvfbfmin,+v,+zvbb,+zfhmin -O1

Generated 2026-11-29 14:49 UTC.