fallback: translate: call llvm.vp.load.nxv4i8.p0
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.load.nxv4i8.p0 M |
| Occurrences: | 4 in 4 configs, 2 test files, 5 more counted only |
| Snippet from: | vpload.5c7be79994.ll (mutant of vpload.ll) @vpload_nxv4i8 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zicsr,+zbs -O2 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define <vscale x 4 x i8> @vpload_nxv4i8(ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%C = icmp ult <8 x i8> zeroinitializer, splat (i8 127)
%load = call <vscale x 4 x i8> @llvm.vp.load.nxv4i8.p0(ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
store <8 x i1> %C, ptr poison, align 1
ret <vscale x 4 x i8> %load
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 4 x i8> @llvm.vp.load.nxv4i8.p0(ptr captures(none), <vscale x 4 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,+zicsr,+zbs -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zicsr,+zbs -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.nxv4i8.p0: ' %load = call <vscale x 4 x i8> @llvm.vp.load.nxv4i8.p0(ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)' (in function: vpload_nxv4i8)
warning: Instruction selection used fallback path for vpload_nxv4i8
Occurrences (4):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.11aef2c9a9.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_load_nxv4i8_ALL | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v -O1 -verify-machineinstrs |
| vpload.5c7be79994.ll (mutant of vpload.ll) | vpload_nxv4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v,+zicsr,+zbs -O2 |
| vpload.96474d4642.ll (mutant of vpload.ll) | vpload_nxv4i8 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+zvfbfmin,+v -O3 |
| vpload.b3cfa99ff5.ll (mutant of vpload.ll) | vpload_nxv4i8 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1 |
Generated 2026-11-29 14:49 UTC.