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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.load.nxv2f16.p0 M
Occurrences:6 in 5 configs, 1 test files, 1 more counted only
Snippet from:vpload.62fda56b77.ll (mutant of vpload.ll) @vpload_nxv2f16_allones_mask via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 2 x half> @vpload_nxv2f16_allones_mask(ptr %ptr, i32 zeroext %evl) {
  %A = alloca i1, align 1
  store i1 poison, ptr %A, align 1
  %load = call <vscale x 2 x half> @llvm.vp.load.nxv2f16.p0(ptr %ptr, <vscale x 2 x i1> splat (i1 true), i32 %evl)
  %C = icmp ult i32 %evl, 42
  store i1 %C, ptr %A, align 1
  ret <vscale x 2 x half> %load
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 2 x half> @llvm.vp.load.nxv2f16.p0(ptr captures(none), <vscale x 2 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 -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1 -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (6):

InputFunctionConfig
vpload.07546213c9.ll (mutant of vpload.ll)vpload_nxv2f16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2
vpload.62fda56b77.ll (mutant of vpload.ll)vpload_nxv2f16_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O1
vpload.99b8df7eeb.ll (mutant of vpload.ll)vpload_nxv2f16_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+c -O1
vpload.a91d7e4901.ll (mutant of vpload.ll)vpload_nxv2f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2
vpload.d284173358.ll (mutant of vpload.ll)vpload_nxv2f16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O2
vpload.d284173358.ll (mutant of vpload.ll)vpload_nxv2f16_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O2

Generated 2026-11-29 14:49 UTC.