fallback: translate: call llvm.vp.load.nxv2i32.p0
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.load.nxv2i32.p0 M |
| Occurrences: | 7 in 7 configs, 3 test files, 9 more counted only |
| Snippet from: | vpload.511f7cd3cc.ll (mutant of vpload.ll) @vpload_nxv2i32 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+a,+zbkb -O3 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i1
define <vscale x 2 x i32> @vpload_nxv2i32(ptr %ptr, <vscale x 2 x i1> %m, i32 zeroext %evl) {
%C = icmp sgt i32 %evl, %evl
%load = call <vscale x 2 x i32> @llvm.vp.load.nxv2i32.p0(ptr %ptr, <vscale x 2 x i1> %m, i32 %evl)
store i1 %C, ptr @G, align 1
ret <vscale x 2 x i32> %load
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 2 x i32> @llvm.vp.load.nxv2i32.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,+a,+zbkb -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+a,+zbkb -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.nxv2i32.p0: ' %load = call <vscale x 2 x i32> @llvm.vp.load.nxv2i32.p0(ptr %ptr, <vscale x 2 x i1> %m, i32 %evl)' (in function: vpload_nxv2i32)
warning: Instruction selection used fallback path for vpload_nxv2i32
Occurrences (7):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.1667f6a379.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_load_nxv2i32_PALL | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O0 -verify-machineinstrs |
| nontemporal-vp-scalable.29ce6f5332.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_load_nxv2i32_P1 | -mtriple=riscv64 -mattr=+zihintntl,+f,+d,+zfh,+v -O2 -verify-machineinstrs |
| rvv-peephole-vmerge-vops.020e2a6743.ll (mutant of rvv-peephole-vmerge-vops.ll) | vpmerge_vpload_store | -mtriple=riscv64 -mattr=+v -O2 -verify-machineinstrs |
| rvv-peephole-vmerge-vops.1994b520dd.ll (mutant of rvv-peephole-vmerge-vops.ll) | vpselect_vpload | -mtriple=riscv64 -mattr=+v,+zcb,+zvfh -O1 -verify-machineinstrs |
| rvv-peephole-vmerge-vops.2615d60284.ll (mutant of rvv-peephole-vmerge-vops.ll) | vpmerge_vpload_store | -mtriple=riscv64 -mattr=+v -O3 -verify-machineinstrs |
| vpload.3b13c1ae85.ll (mutant of vpload.ll) | vpload_nxv2i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+c,+zvkb -O1 |
| vpload.511f7cd3cc.ll (mutant of vpload.ll) | vpload_nxv2i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+a,+zbkb -O3 |
Generated 2026-11-29 14:49 UTC.