fallback: translate: call llvm.experimental.vp.strided.load.nxv8i32.p0.i32
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.experimental.vp.strided.load.nxv8i32.p0.i32 M |
| Occurrences: | 3 in 3 configs, 1 test files, 2 more counted only |
| Snippet from: | strided-vpload.131d14bb3b.ll (mutant of strided-vpload.ll) @strided_vpload_nxv8i32 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+d,+v,+zvfh,+zvfbfmin,+zbkb -O1 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i32
define <vscale x 8 x i32> @strided_vpload_nxv8i32(ptr %ptr, i32 signext %stride, <vscale x 8 x i1> %m, i32 zeroext %evl) {
%LGV = load i32, ptr @G, align 4
%B = and i32 %stride, %LGV
%load = call <vscale x 8 x i32> @llvm.experimental.vp.strided.load.nxv8i32.p0.i32(ptr %ptr, i32 signext %stride, <vscale x 8 x i1> %m, i32 %B)
ret <vscale x 8 x i32> %load
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 8 x i32> @llvm.experimental.vp.strided.load.nxv8i32.p0.i32(ptr captures(none), i32, <vscale x 8 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+d,+v,+zvfh,+zvfbfmin,+zbkb -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+d,+v,+zvfh,+zvfbfmin,+zbkb -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.experimental.vp.strided.load.nxv8i32.p0.i32: ' %load = call <vscale x 8 x i32> @llvm.experimental.vp.strided.load.nxv8i32.p0.i32(ptr %ptr, i32 signext %stride, <vscale x 8 x i1> %m, i32 %B)' (in function: strided_vpload_nxv8i32)
warning: Instruction selection used fallback path for strided_vpload_nxv8i32
Occurrences (3):
| Input | Function | Config |
|---|
| strided-vpload.131d14bb3b.ll (mutant of strided-vpload.ll) | strided_vpload_nxv8i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+d,+v,+zvfh,+zvfbfmin,+zbkb -O1 |
| strided-vpload.4586fca737.ll (mutant of strided-vpload.ll) | strided_vpload_nxv8i32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+d,+v,+zvfhmin,+zvfbfmin -O3 |
| strided-vpload.5cfd5d01bf.ll (mutant of strided-vpload.ll) | strided_vpload_nxv8i32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+d,+v,+zvfh,+zvfbfmin,+optimized-zero-stride-load -O2 |
Generated 2026-11-29 14:49 UTC.