fallback: translate: call llvm.vp.load.nxv4i6.p0
| Run: | explore-db12fc36f6-20261127-115111 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.load.nxv4i6.p0 M |
| Occurrences: | 4 in 4 configs, 1 test files, 2 more counted only |
| Snippet from: | vpload.b916dda06e.ll (mutant of vpload.ll) @vpload_nxv4i6 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr,+zfhmin -O0 |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i1
define <vscale x 4 x i6> @vpload_nxv4i6(ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%B = ashr i1 false, true
%load = call <vscale x 4 x i6> @llvm.vp.load.nxv4i6.p0(ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
store i1 %B, ptr @G, align 1
ret <vscale x 4 x i6> %load
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 4 x i6> @llvm.vp.load.nxv4i6.p0(ptr captures(none), <vscale x 4 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,+zicsr,+zfhmin -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr,+zfhmin -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.nxv4i6.p0: ' %load = call <vscale x 4 x i6> @llvm.vp.load.nxv4i6.p0(ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)' (in function: vpload_nxv4i6)
warning: Instruction selection used fallback path for vpload_nxv4i6
Occurrences (4):
| Input | Function | Config |
|---|
| vpload.2c503daaf4.ll (mutant of vpload.ll) | vpload_nxv4i6 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfh,+v -O0 |
| vpload.91ac295dc8.ll (mutant of vpload.ll) | vpload_nxv4i6 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+v -O3 -code-model=medium |
| vpload.b916dda06e.ll (mutant of vpload.ll) | vpload_nxv4i6 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr,+zfhmin -O0 |
| vpload.c0e3e4ae74.ll (mutant of vpload.ll) | vpload_nxv4i6 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O1 |
Generated 2026-11-29 14:49 UTC.