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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.load.nxv2i16.p0 M
Occurrences:9 in 7 configs, 2 test files, 4 more counted only
Snippet from:vpload.658a0a3733.ll (mutant of vpload.ll) @vpload_nxv2i16_allones_mask via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 2 x i16> @vpload_nxv2i16_allones_mask(ptr %ptr, i32 zeroext %evl) {
  %load = call <vscale x 2 x i16> @llvm.vp.load.nxv2i16.p0(ptr %ptr, <vscale x 2 x i1> splat (i1 true), i32 %evl)
  %B = urem <vscale x 2 x i16> %load, %load
  ret <vscale x 2 x i16> %B
}

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

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

Reproduce:

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

Local llc output:

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

Occurrences (9):

InputFunctionConfig
nontemporal-vp-scalable.a6adce7780.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv2i16_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O1 -verify-machineinstrs
nontemporal-vp-scalable.aff897545b.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv2i16_S1-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -verify-machineinstrs
vpload.037f46bd1d.ll (mutant of vpload.ll)vpload_nxv2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+f -O3
vpload.037f46bd1d.ll (mutant of vpload.ll)vpload_nxv2i16_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+f -O3
vpload.0c68691a5c.ll (mutant of vpload.ll)vpload_nxv2i16-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zfh,+zihintpause -O1
vpload.487fd68a72.ll (mutant of vpload.ll)vpload_nxv2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O2
vpload.658a0a3733.ll (mutant of vpload.ll)vpload_nxv2i16_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0
vpload.d5f5948b16.ll (mutant of vpload.ll)vpload_nxv2i16_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0
vpload.fee2038ed2.ll (mutant of vpload.ll)vpload_nxv2i16_allones_mask-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfbfmin,+v,+zbs -O2

Generated 2026-11-29 14:49 UTC.