fallback: legalize: G_VECREDUCE_UMAX <N x i16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_VECREDUCE_UMAX <N x i16> M |
| Occurrences: | 5 in 5 configs, 2 test files, 9 more counted only |
| Snippet from: | fixed-vectors-reduction-int.8551fbd491.ll (mutant of fixed-vectors-reduction-int.ll) @vreduce_umax_v64i16 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define i16 @vreduce_umax_v64i16(ptr %x) {
%v = load <64 x i16>, ptr %x, align 128
%red = call i16 @llvm.vector.reduce.umax.v64i16(<64 x i16> %v)
store i16 %red, ptr poison, align 2
ret i16 %red
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare i16 @llvm.vector.reduce.umax.v64i16(<64 x i16>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %2:_(i16) = G_VECREDUCE_UMAX %1:_(<64 x i16>) (in function: vreduce_umax_v64i16)
warning: Instruction selection used fallback path for vreduce_umax_v64i16
Occurrences (5):
| Input | Function | Config |
|---|
| fixed-vectors-reduction-int-vp.4f20a69ffe.ll (mutant of fixed-vectors-reduction-int-vp.ll) | vpreduce_umax_v4i16 | -mtriple=riscv32 -verify-machineinstrs -O0 |
| fixed-vectors-reduction-int.21d346ec64.ll (mutant of fixed-vectors-reduction-int.ll) | vreduce_umax_v32i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m -O1 |
| fixed-vectors-reduction-int.736ec9c109.ll (mutant of fixed-vectors-reduction-int.ll) | vreduce_umax_v8i16 | -mtriple=riscv64 -verify-machineinstrs -mattr=+m,+v -O3 |
| fixed-vectors-reduction-int.8551fbd491.ll (mutant of fixed-vectors-reduction-int.ll) | vreduce_umax_v64i16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+m,+v -O0 |
| fixed-vectors-reduction-int.ae5e154994.ll (mutant of fixed-vectors-reduction-int.ll) | vreduce_umax_v8i16 | -mtriple=riscv64 -verify-machineinstrs -O2 |
Generated 2026-11-29 14:49 UTC.