fallback: translate: call llvm.vp.reduce.umax.nxv32i1
| Run: | main-db12fc36f6-20261127-110859 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.umax.nxv32i1 M |
| Occurrences: | 2 in 2 configs, 1 test files |
| Snippet from: | vreductions-mask-vp.389ded521f.ll (mutant of vreductions-mask-vp.ll) @vpreduce_umax_nxv32i1 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| Local check: | reproduces at db12fc36f6 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <2 x i64>
define zeroext i1 @vpreduce_umax_nxv32i1(i1 zeroext %s, <vscale x 32 x i1> %v, <vscale x 32 x i1> %m, i32 zeroext %evl) {
%A = alloca <2 x i1>, align 1
store <2 x i1> poison, ptr %A, align 1
%LGV = load <2 x i64>, ptr @G, align 16
%C = icmp ult <2 x i64> %LGV, splat (i64 9223372036854775807)
%r = call i1 @llvm.vp.reduce.umax.nxv32i1(i1 %s, <vscale x 32 x i1> %v, <vscale x 32 x i1> %m, i32 %evl)
store <2 x i1> %C, ptr %A, align 1
ret i1 %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.vp.reduce.umax.nxv32i1(i1, <vscale x 32 x i1>, <vscale x 32 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.umax.nxv32i1: ' %r = call i1 @llvm.vp.reduce.umax.nxv32i1(i1 %s, <vscale x 32 x i1> %v, <vscale x 32 x i1> %m, i32 %evl)' (in function: vpreduce_umax_nxv32i1)
warning: Instruction selection used fallback path for vpreduce_umax_nxv32i1
Occurrences (2):
| Input | Function | Config |
|---|
| vreductions-mask-vp.389ded521f.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umax_nxv32i1 | -mtriple=riscv32 -mattr=+v -verify-machineinstrs |
| vreductions-mask-vp.e03d59f0dc.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umax_nxv32i1 | -mtriple=riscv64 -mattr=+v -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.