fallback: legalize: G_VECREDUCE_FMINIMUM <N x f32>
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | legalize: G_VECREDUCE_FMINIMUM <N x f32> M |
| Occurrences: | 4 in 4 configs, 1 test files |
| Snippet from: | fixed-vectors-reduction-fp.17330942c9.ll (mutant of fixed-vectors-reduction-fp.ll) @vreduce_fminimum_v32f32 via llvm-extract |
| Config: | -mtriple=riscv32 -mattr=+v,+zfh,+zvfhmin,+f,+d -verify-machineinstrs |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G = external global <4 x float>
define float @vreduce_fminimum_v32f32(ptr %x) {
%LGV = load <4 x float>, ptr @G, align 16
%B = fadd <4 x float> splat (float 1.000000e+00), %LGV
%v = load <32 x float>, ptr %x, align 128
%red = call float @llvm.vector.reduce.fminimum.v32f32(<32 x float> %v)
store <4 x float> %B, ptr @G, align 16
ret float %red
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.vector.reduce.fminimum.v32f32(<32 x float>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -mattr=+v,+zfh,+zvfhmin,+f,+d -verify-machineinstrs -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -mattr=+v,+zfh,+zvfhmin,+f,+d -verify-machineinstrs -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %7:_(f32) = G_VECREDUCE_FMINIMUM %6:_(<32 x f32>) (in function: vreduce_fminimum_v32f32)
warning: Instruction selection used fallback path for vreduce_fminimum_v32f32
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-reduction-fp.17330942c9.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fminimum_v32f32 | -mtriple=riscv32 -mattr=+v,+zfh,+zvfhmin,+f,+d -verify-machineinstrs |
| fixed-vectors-reduction-fp.2818dea9b2.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fminimum_v32f32 | -mtriple=riscv64 -mattr=+v,+zfh,+zvfhmin,+f,+d -verify-machineinstrs |
| fixed-vectors-reduction-fp.4d8045e79b.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fminimum_v32f32 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs |
| fixed-vectors-reduction-fp.52cd87127c.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fminimum_v32f32 | -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.