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