fallback: legalize: G_VECREDUCE_FMAX <N x f64>
| Run: | main-d9924131a4-20261128-102057 |
| Kind: | fallback |
| Category: | legalize: G_VECREDUCE_FMAX <N x f64> M |
| Occurrences: | 4 in 4 configs, 1 test files |
| Snippet from: | fixed-vectors-reduction-fp.1c1c198915.ll (mutant of fixed-vectors-reduction-fp.ll) @vreduce_fmax_v4f64 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:
define double @vreduce_fmax_v4f64(ptr %x) {
%v = load <4 x double>, ptr %x, align 32
%S = shufflevector <4 x double> %v, <4 x double> splat (double +inf), <4 x i32> poison
%red = call double @llvm.vector.reduce.fmax.v4f64(<4 x double> %S)
ret double %red
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.vector.reduce.fmax.v4f64(<4 x double>) #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: %5:_(f64) = G_VECREDUCE_FMAX %2:_(<4 x f64>) (in function: vreduce_fmax_v4f64)
warning: Instruction selection used fallback path for vreduce_fmax_v4f64
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-reduction-fp.1c1c198915.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmax_v4f64 | -mtriple=riscv32 -mattr=+v,+zfh,+zvfhmin,+f,+d -verify-machineinstrs |
| fixed-vectors-reduction-fp.7164098375.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmax_v4f64 | -mtriple=riscv64 -mattr=+v,+zfh,+zvfhmin,+f,+d -verify-machineinstrs |
| fixed-vectors-reduction-fp.e9f6627b9a.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmax_v4f64 | -mtriple=riscv32 -target-abi=ilp32d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs |
| fixed-vectors-reduction-fp.ec74727ec7.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_fmax_v4f64 | -mtriple=riscv64 -target-abi=lp64d -mattr=+v,+zfh,+zvfh,+f,+d -verify-machineinstrs |
Generated 2026-11-29 14:49 UTC.