fallback: translate: call llvm.vp.load.nxv1i16.p0
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.load.nxv1i16.p0 M |
| Occurrences: | 5 in 5 configs, 2 test files, 9 more counted only |
| Snippet from: | vpload.a20a495c0a.ll (mutant of vpload.ll) @vpload_nxv1i16 via llvm-extract |
| Config: | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global i1
@G.1 = external global i1
define <vscale x 1 x i16> @vpload_nxv1i16(ptr %ptr, <vscale x 1 x i1> %m, i32 zeroext %evl) {
%LGV = load i1, ptr @G, align 1
%B = add i1 %LGV, false
%load = call <vscale x 1 x i16> @llvm.vp.load.nxv1i16.p0(ptr %ptr, <vscale x 1 x i1> %m, i32 %evl)
store i1 %B, ptr @G.1, align 1
ret <vscale x 1 x i16> %load
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 1 x i16> @llvm.vp.load.nxv1i16.p0(ptr captures(none), <vscale x 1 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: read) }
Reproduce:
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.nxv1i16.p0: ' %load = call <vscale x 1 x i16> @llvm.vp.load.nxv1i16.p0(ptr %ptr, <vscale x 1 x i1> %m, i32 %evl)' (in function: vpload_nxv1i16)
warning: Instruction selection used fallback path for vpload_nxv1i16
Occurrences (5):
| Input | Function | Config |
|---|
| nontemporal-vp-scalable.049d1df27f.ll (mutant of nontemporal-vp-scalable.ll) | test_nontemporal_vp_load_nxv1i16_S1 | -mtriple=riscv32 -mattr=+zihintntl,+f,+d,+zfh,+v,+c -O3 -verify-machineinstrs |
| vpload.0c68691a5c.ll (mutant of vpload.ll) | vpload_nxv1i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zfh,+zihintpause -O1 |
| vpload.16be611bf7.ll (mutant of vpload.ll) | vpload_nxv1i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+zvfh,+zvfbfmin,+v -O2 |
| vpload.a20a495c0a.ll (mutant of vpload.ll) | vpload_nxv1i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v,+zicsr -O0 |
| vpload.b60b4c38d9.ll (mutant of vpload.ll) | vpload_nxv1i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+d,+zvfhmin,+zvfbfmin,+v -O2 |
Generated 2026-11-29 14:49 UTC.