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