fallback: legalize: G_VECREDUCE_UMIN <N x i1>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_VECREDUCE_UMIN <N x i1> M |
| Occurrences: | 6 in 5 configs, 2 test files, 38 more counted only |
| Snippet from: | fixed-vectors-reduction-mask-vp.1ae13052e2.ll (mutant of fixed-vectors-reduction-mask-vp.ll) @vpreduce_umin_v16i1 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+c -O1 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define zeroext i1 @vpreduce_umin_v16i1(i1 zeroext %s, <16 x i1> %v, <16 x i1> %m, i32 zeroext %evl) {
%C = icmp sge <16 x i1> %m, zeroinitializer
%r = call i1 @llvm.vp.reduce.umin.v16i1(i1 %s, <16 x i1> %C, <16 x i1> %m, i32 %evl)
ret i1 %r
}
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.vp.reduce.umin.v16i1(i1, <16 x i1>, <16 x i1>, i32) #0
attributes #0 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+c -O1 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+c -O1 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %36:_(i1) = G_VECREDUCE_UMIN %33:_(<16 x i1>) (in function: vpreduce_umin_v16i1)
warning: Instruction selection used fallback path for vpreduce_umin_v16i1
Occurrences (6):
Generated 2026-11-29 14:49 UTC.