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

Run:explore-db12fc36f6-20261127-115111
Kind:fallback
Category:translate: call llvm.vp.load.nxv2i16.p0 M
Occurrences:6 in 6 configs, 2 test files, 7 more counted only
Snippet from:vpload.439bcb94f1.ll (mutant of vpload.ll) @vpload_nxv2i16_allones_mask via llvm-extract
Config:-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zbkb,+m -O3 -code-model=small
Local check:reproduces at db12fc36f6
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

@G.2 = external global i8

define <vscale x 2 x i16> @vpload_nxv2i16_allones_mask(ptr %ptr, i32 zeroext %evl) {
  %LGV = load i8, ptr @G.2, align 1
  %G = getelementptr i32, ptr %ptr, i8 %LGV
  %load = call <vscale x 2 x i16> @llvm.vp.load.nxv2i16.p0(ptr %G, <vscale x 2 x i1> splat (i1 true), i32 %evl)
  ret <vscale x 2 x i16> %load
}

; 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=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zbkb,+m -O3 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zbkb,+m -O3 -code-model=small -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 %G, <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 (6):

InputFunctionConfig
nontemporal-vp-scalable.1602a1fd87.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv2i16_ALL-mtriple=riscv64 -mattr=+zihintntl,+f,+d,+v -O2 -verify-machineinstrs
nontemporal-vp-scalable.d1864422b6.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv2i16_PALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O3 -verify-machineinstrs
vpload.439bcb94f1.ll (mutant of vpload.ll)vpload_nxv2i16_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zbkb,+m -O3 -code-model=small
vpload.522916281d.ll (mutant of vpload.ll)vpload_nxv2i16_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zcb,+c -O3
vpload.616a272d47.ll (mutant of vpload.ll)vpload_nxv2i16_allones_mask-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+xtheadba,+zfa -O2
vpload.83c3d0999b.ll (mutant of vpload.ll)vpload_nxv2i16-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zfhmin -O3

Generated 2026-11-29 14:49 UTC.