fallback: translate: call llvm.vp.load.nxv4i16.p0
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.load.nxv4i16.p0 M |
| Occurrences: | 4 in 4 configs, 1 test files |
| Snippet from: | vpload.487931a509.ll (mutant of vpload.ll) @vpload_nxv4i16 via llvm-extract |
| Config: | -mtriple=riscv64 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <4 x i32>
define <vscale x 4 x i16> @vpload_nxv4i16(ptr %ptr, <vscale x 4 x i1> %m, i32 zeroext %evl) {
%LGV = load <4 x i32>, ptr @G, align 16
%load = call <vscale x 4 x i16> @llvm.vp.load.nxv4i16.p0(ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)
%B = shl <4 x i32> %LGV, splat (i32 65536)
store <4 x i32> %B, ptr @G, align 16
ret <vscale x 4 x i16> %load
}
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: read)
declare <vscale x 4 x i16> @llvm.vp.load.nxv4i16.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 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.load.nxv4i16.p0: ' %load = call <vscale x 4 x i16> @llvm.vp.load.nxv4i16.p0(ptr %ptr, <vscale x 4 x i1> %m, i32 %evl)' (in function: vpload_nxv4i16)
warning: Instruction selection used fallback path for vpload_nxv4i16
Occurrences (4):
| Input | Function | Config |
|---|
| vpload.487931a509.ll (mutant of vpload.ll) | vpload_nxv4i16 | -mtriple=riscv64 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs |
| vpload.ad792fa12d.ll (mutant of vpload.ll) | vpload_nxv4i16 | -mtriple=riscv64 -mattr=+d,+zvfhmin,+zvfbfmin,+v -verify-machineinstrs |
| vpload.b4e373fa5b.ll (mutant of vpload.ll) | vpload_nxv4i16 | -mtriple=riscv32 -mattr=+d,+zvfhmin,+zvfbfmin,+v -verify-machineinstrs |
| vpload.fd590e912c.ll (mutant of vpload.ll) | vpload_nxv4i16 | -mtriple=riscv32 -mattr=+d,+zvfh,+zvfbfmin,+v -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.