fallback: legalize: G_VECREDUCE_FMAXIMUM <N x f32>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_VECREDUCE_FMAXIMUM <N x f32> M |
| Occurrences: | 6 in 6 configs, 1 test files, 68 more counted only |
| Snippet from: | fixed-vectors-reduction-fp.ff67f59a1d.ll (mutant of fixed-vectors-reduction-fp.ll) @vreduce_fmaximum_v8f32_nonans via llvm-extract |
| Config: | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+f,+d,+zfa -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.3 = external global float
define float @vreduce_fmaximum_v8f32_nonans(ptr %x) {
%v = load <8 x float>, ptr %x, align 32
%B = fmul float 1.401300e-45, +inf
%red = call nnan float @llvm.vector.reduce.fmaximum.v8f32(<8 x float> %v)
store float %B, ptr @G.3, align 4
ret float %red
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.vector.reduce.fmaximum.v8f32(<8 x float>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+f,+d,+zfa -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+f,+d,+zfa -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %5:_(f32) = nnan G_VECREDUCE_FMAXIMUM %1:_(<8 x f32>) (in function: vreduce_fmaximum_v8f32_nonans)
warning: Instruction selection used fallback path for vreduce_fmaximum_v8f32_nonans
Occurrences (6):
| Input | Function | Config |
|---|
| fixed-vectors-reduction-fp.2c9f4baeae.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmaximum_v8f32 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+zvfhmin,+f,+d -O3 |
| fixed-vectors-reduction-fp.5c4434c733.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmaximum_v8f32 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+d -O0 |
| fixed-vectors-reduction-fp.5f5f1241e7.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmaximum_v128f32 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+d -O3 -code-model=small |
| fixed-vectors-reduction-fp.c722de49bc.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmaximum_v16f32_nonans | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+d -O0 |
| fixed-vectors-reduction-fp.dd2707023b.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmaximum_v64f32 | -mtriple=riscv64 -verify-machineinstrs -mattr=+zfh,+zvfhmin,+d -O1 -code-model=medium |
| fixed-vectors-reduction-fp.ff67f59a1d.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmaximum_v8f32_nonans | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+f,+d,+zfa -O0 |
Generated 2026-11-29 14:49 UTC.