fallback: translate: call llvm.vp.load.nxv8f16.p0

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.load.nxv8f16.p0 M
Occurrences:4 in 4 configs, 1 test files, 5 more counted only
Snippet from:vpload.c57369211e.ll (mutant of vpload.ll) @vpload_nxv8f16 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zve32x -O3
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 8 x half> @vpload_nxv8f16(ptr %ptr, <vscale x 8 x i1> %m, i32 zeroext %evl) {
  %load = call <vscale x 8 x half> @llvm.vp.load.nxv8f16.p0(ptr %ptr, <vscale x 8 x i1> %m, i32 %evl)
  %B = fdiv <vscale x 8 x half> %load, splat (half 5.960460e-08)
  store <vscale x 8 x half> %B, ptr poison, align 16
  ret <vscale x 8 x half> %load
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 8 x half> @llvm.vp.load.nxv8f16.p0(ptr captures(none), <vscale x 8 x i1>, i32) #0

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

Reproduce:

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

Local llc output:

remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.nxv8f16.p0: '  %load = call <vscale x 8 x half> @llvm.vp.load.nxv8f16.p0(ptr %ptr, <vscale x 8 x i1> %m, i32 %evl)' (in function: vpload_nxv8f16)
warning: Instruction selection used fallback path for vpload_nxv8f16

Occurrences (4):

InputFunctionConfig
vpload.2a70eb2666.ll (mutant of vpload.ll)vpload_nxv8f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zfhmin -O0
vpload.8081488f8a.ll (mutant of vpload.ll)vpload_nxv8f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1
vpload.a5d5a69f27.ll (mutant of vpload.ll)vpload_nxv8f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O2
vpload.c57369211e.ll (mutant of vpload.ll)vpload_nxv8f16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zve32x -O3

Generated 2026-11-29 14:49 UTC.