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

Run:explore-d9924131a4-20261128-105811
Kind:fallback
Category:translate: call llvm.vp.load.nxv2i8.p0 M
Occurrences:11 in 11 configs, 2 test files, 2 more counted only
Snippet from:vpload.e3d131b176.ll (mutant of vpload.ll) @vpload_nxv2i8 via llvm-extract
Config:-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zve32x,+zbs -O0 -code-model=small
Local check:reproduces at d9924131a4
Compiler Explorer:not uploaded (over --godbolt-limit or disabled)

Snippet:

define <vscale x 2 x i8> @vpload_nxv2i8(ptr %ptr, <vscale x 2 x i1> %m, i32 zeroext %evl) {
  %A = alloca ptr, align 8
  store ptr poison, ptr %A, align 8
  %load = call <vscale x 2 x i8> @llvm.vp.load.nxv2i8.p0(ptr %ptr, <vscale x 2 x i1> %m, i32 %evl)
  %G = getelementptr i32, ptr %ptr, i32 %evl
  store ptr %G, ptr %A, align 8
  ret <vscale x 2 x i8> %load
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 2 x i8> @llvm.vp.load.nxv2i8.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,+zvfhmin,+zvfbfmin,+v,+zve32x,+zbs -O0 -code-model=small -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zve32x,+zbs -O0 -code-model=small -global-isel=0 snippet.ll -o -

Local llc output:

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

Occurrences (11):

InputFunctionConfig
nontemporal-vp-scalable.2c72ee5491.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv2i8_P1-mtriple=riscv64 -mattr=+f,+d,+zfh,+v,+zfa -O1 -verify-machineinstrs
nontemporal-vp-scalable.358b827c41.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv2i8_PALL-mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O2 -code-model=medium -verify-machineinstrs
nontemporal-vp-scalable.bbfe5cb405.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv2i8_ALL-mtriple=riscv32 -mattr=+f,+d,+zfh,+v -O1 -verify-machineinstrs
nontemporal-vp-scalable.e3766c20b2.ll (mutant of nontemporal-vp-scalable.ll)test_nontemporal_vp_load_nxv2i8_DEFAULT-mtriple=riscv64 -mattr=+zihintntl,+f,+zfh,+v,+c -O0 -code-model=small -verify-machineinstrs
vpload.0c68691a5c.ll (mutant of vpload.ll)vpload_nxv2i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zfh,+zihintpause -O1
vpload.18ead560b5.ll (mutant of vpload.ll)vpload_nxv2i8-mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+v,+zve32x -O3
vpload.70509add9e.ll (mutant of vpload.ll)vpload_nxv2i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+v -O2
vpload.a464730914.ll (mutant of vpload.ll)vpload_nxv2i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zihintpause,+zbs -O1
vpload.afd48a43a7.ll (mutant of vpload.ll)vpload_nxv2i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+m,+zba -O1
vpload.d5f5948b16.ll (mutant of vpload.ll)vpload_nxv2i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O0
vpload.e3d131b176.ll (mutant of vpload.ll)vpload_nxv2i8-mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zve32x,+zbs -O0 -code-model=small

Generated 2026-11-29 14:49 UTC.