fallback: translate: call llvm.vp.load.ff.nxv32f16.p0

Run:explore-b577f07195-20261129-105236
Kind:fallback
Category:translate: call llvm.vp.load.ff.nxv32f16.p0 M
Occurrences:4 in 4 configs, 1 test files, 7 more counted only
Snippet from:vploadff.d05bb3c8ac.ll (mutant of vploadff.ll) @vploadff_nxv32f16 via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+v,+zicsr -O2
Local check:reproduces at b577f07195
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G = external global i32

define { <vscale x 32 x half>, i32 } @vploadff_nxv32f16(ptr %ptr, <vscale x 32 x i1> %m, i32 zeroext %evl) {
  %load = call { <vscale x 32 x half>, i32 } @llvm.vp.load.ff.nxv32f16.p0(ptr %ptr, <vscale x 32 x i1> %m, i32 %evl)
  %B = udiv i32 %evl, %evl
  store i32 %B, ptr @G, align 4
  ret { <vscale x 32 x half>, i32 } %load
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (4):

InputFunctionConfig
vploadff.0ebc376ca3.ll (mutant of vploadff.ll)vploadff_nxv32f16_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3
vploadff.d05bb3c8ac.ll (mutant of vploadff.ll)vploadff_nxv32f16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+v,+zicsr -O2
vploadff.e209b072b0.ll (mutant of vploadff.ll)vploadff_nxv32f16_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1 -code-model=medium
vploadff.f72f4d1046.ll (mutant of vploadff.ll)vploadff_nxv32f16_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr -O3

Generated 2026-11-29 14:49 UTC.