fallback: legalize: G_VECREDUCE_FMAX <N x f64>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_VECREDUCE_FMAX <N x f64> M |
| Occurrences: | 4 in 4 configs, 1 test files, 9 more counted only |
| Snippet from: | fixed-vectors-reduction-fp.90b6998bbe.ll (mutant of fixed-vectors-reduction-fp.ll) @vreduce_fmax_v2f64 via llvm-extract |
| Config: | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+d,+c,+zvbb -O3 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define double @vreduce_fmax_v2f64(ptr %x) {
%v = load <2 x double>, ptr %x, align 16
%B = fdiv <2 x double> %v, %v
%red = call double @llvm.vector.reduce.fmax.v2f64(<2 x double> %v)
store <2 x double> %B, ptr poison, align 16
ret double %red
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.vector.reduce.fmax.v2f64(<2 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,+c,+zvbb -O3 -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,+c,+zvbb -O3 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(f64) = G_VECREDUCE_FMAX %1:_(<2 x f64>) (in function: vreduce_fmax_v2f64)
warning: Instruction selection used fallback path for vreduce_fmax_v2f64
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-reduction-fp.2a7696e60b.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmax_v4f64 | -mtriple=riscv64 -verify-machineinstrs -mattr=+v,+zfh,+zvfhmin,+f,+d -O3 |
| fixed-vectors-reduction-fp.477b103e1d.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmax_v4f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+m -O1 |
| fixed-vectors-reduction-fp.90b6998bbe.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmax_v2f64 | -mtriple=riscv64 -target-abi=lp64d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+d,+c,+zvbb -O3 |
| fixed-vectors-reduction-fp.ca298d199c.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmax_v32f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+d,+zicsr -O3 |
Generated 2026-11-29 14:49 UTC.