fallback: legalize: G_VECREDUCE_FMINIMUM <N x f16>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_VECREDUCE_FMINIMUM <N x f16> M |
| Occurrences: | 3 in 3 configs, 1 test files, 7 more counted only |
| Snippet from: | fixed-vectors-reduction-fp.1981de2066.ll (mutant of fixed-vectors-reduction-fp.ll) @vreduce_fminimum_v128f16 via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+zvfhmin,+f,+d -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
define half @vreduce_fminimum_v128f16(ptr %x) {
%v = load <128 x half>, ptr %x, align 256
%red = call half @llvm.vector.reduce.fminimum.v128f16(<128 x half> %v)
%C = fcmp uge half %red, 6.550400e+04
store i1 %C, ptr @G.1, align 1
ret half %red
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare half @llvm.vector.reduce.fminimum.v128f16(<128 x half>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+zvfhmin,+f,+d -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+zvfhmin,+f,+d -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %2:_(f16) = G_VECREDUCE_FMINIMUM %1:_(<128 x f16>) (in function: vreduce_fminimum_v128f16)
warning: Instruction selection used fallback path for vreduce_fminimum_v128f16
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-reduction-fp.1981de2066.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fminimum_v128f16 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+zvfhmin,+f,+d -O2 |
| fixed-vectors-reduction-fp.698eaa4590.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fminimum_v64f16_nonans | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zfh,+zvfhmin,+f,+d,+zve32x -O0 |
| fixed-vectors-reduction-fp.ca298d199c.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fminimum_v128f16 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+d,+zicsr -O3 |
Generated 2026-11-29 14:49 UTC.