fallback: legalize: G_VECREDUCE_FMINIMUM <N x f64>
| Run: | explore-b577f07195-20261129-105236 |
| Kind: | fallback |
| Category: | legalize: G_VECREDUCE_FMINIMUM <N x f64> M |
| Occurrences: | 4 in 4 configs, 1 test files, 50 more counted only |
| Snippet from: | fixed-vectors-reduction-fp.f451b0f566.ll (mutant of fixed-vectors-reduction-fp.ll) @vreduce_fminimum_v32f64 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfh,+f,+d -O0 |
| Local check: | reproduces at b577f07195 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
@G.5 = external global i1
define double @vreduce_fminimum_v32f64(ptr %x) {
%LGV = load i1, ptr @G.5, align 1
%B = xor i1 %LGV, false
%v = load <32 x double>, ptr %x, align 256
%red = call double @llvm.vector.reduce.fminimum.v32f64(<32 x double> %v)
store i1 %B, ptr @G.1, align 1
ret double %red
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.vector.reduce.fminimum.v32f64(<32 x double>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfh,+f,+d -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfh,+f,+d -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %6:_(f64) = G_VECREDUCE_FMINIMUM %5:_(<32 x f64>) (in function: vreduce_fminimum_v32f64)
warning: Instruction selection used fallback path for vreduce_fminimum_v32f64
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-reduction-fp.b8125bbc74.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fminimum_v2f64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+zvfhmin,+f,+d -O0 -code-model=small |
| fixed-vectors-reduction-fp.e63192eb58.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fminimum_v32f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+d -O1 |
| fixed-vectors-reduction-fp.eb6a78bc5a.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fminimum_v4f64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zfh,+zvfhmin,+f,+d,+zvfh -O0 |
| fixed-vectors-reduction-fp.f451b0f566.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fminimum_v32f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfh,+f,+d -O0 |
Generated 2026-11-29 14:49 UTC.