fallback: legalize: G_VECREDUCE_FMIN <N x f64>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_VECREDUCE_FMIN <N x f64> M |
| Occurrences: | 3 in 3 configs, 1 test files, 6 more counted only |
| Snippet from: | fixed-vectors-reduction-fp.e74a3662a2.ll (mutant of fixed-vectors-reduction-fp.ll) @vreduce_fmin_v32f64 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+d -O0 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
@G.1 = external global i1
define double @vreduce_fmin_v32f64(ptr %x) {
%LGV1 = load i1, ptr @G.1, align 1
%B = udiv i1 true, %LGV1
%v = load <32 x double>, ptr %x, align 256
%red = call double @llvm.vector.reduce.fmin.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.fmin.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,+zvfh,+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,+zvfh,+f,+d -O0 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %6:_(f64) = G_VECREDUCE_FMIN %5:_(<32 x f64>) (in function: vreduce_fmin_v32f64)
warning: Instruction selection used fallback path for vreduce_fmin_v32f64
Occurrences (3):
| Input | Function | Config |
|---|
| fixed-vectors-reduction-fp.6cd91c54c1.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmin_v2f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+d,+zve32x -O3 |
| fixed-vectors-reduction-fp.b26516b056.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmin_v4f64_nonans_noinfs | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+d,+zvbb -O1 |
| fixed-vectors-reduction-fp.e74a3662a2.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmin_v32f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+d -O0 |
Generated 2026-11-29 14:49 UTC.