fallback: translate: call llvm.vp.reduce.umax.nxv8i1
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | translate: call llvm.vp.reduce.umax.nxv8i1 M |
| Occurrences: | 6 in 6 configs, 1 test files, 1 more counted only |
| Snippet from: | vreductions-mask-vp.c36976643a.ll (mutant of vreductions-mask-vp.ll) @vpreduce_umax_nxv8i1 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+a -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
define zeroext i1 @vpreduce_umax_nxv8i1(i1 zeroext %s, <vscale x 8 x i1> %v, <vscale x 8 x i1> %m, i32 zeroext %evl) {
%C = icmp ugt i32 %evl, %evl
%r = call i1 @llvm.vp.reduce.umax.nxv8i1(i1 %s, <vscale x 8 x i1> %v, <vscale x 8 x i1> %m, i32 %evl)
store i1 %C, ptr @G.1, align 1
ret i1 %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.vp.reduce.umax.nxv8i1(i1, <vscale x 8 x i1>, <vscale x 8 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+a -O3 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+a -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to translate instruction: call llvm.vp.reduce.umax.nxv8i1: ' %r = call i1 @llvm.vp.reduce.umax.nxv8i1(i1 %s, <vscale x 8 x i1> %v, <vscale x 8 x i1> %m, i32 %evl)' (in function: vpreduce_umax_nxv8i1)
warning: Instruction selection used fallback path for vpreduce_umax_nxv8i1
Occurrences (6):
| Input | Function | Config |
|---|
| vreductions-mask-vp.4742e3a04a.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umax_nxv8i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+zba -O2 -code-model=medium |
| vreductions-mask-vp.544197dfa4.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umax_nxv8i1 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zfa,+zbs -O1 |
| vreductions-mask-vp.bc141c5848.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umax_nxv8i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v -O2 |
| vreductions-mask-vp.be3b6d5548.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umax_nxv8i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zvkb -O0 |
| vreductions-mask-vp.c2b4dc238f.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umax_nxv8i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+a -O3 |
| vreductions-mask-vp.c36976643a.ll (mutant of vreductions-mask-vp.ll) | vpreduce_umax_nxv8i1 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+a -O3 |
Generated 2026-11-29 14:49 UTC.