fallback: legalize: G_VECREDUCE_SEQ_FADD <N x f64>
| Run: | explore-d9924131a4-20261128-105811 |
| Kind: | fallback |
| Category: | legalize: G_VECREDUCE_SEQ_FADD <N x f64> M |
| Occurrences: | 4 in 4 configs, 1 test files, 22 more counted only |
| Snippet from: | fixed-vectors-reduction-fp.4d326d4126.ll (mutant of fixed-vectors-reduction-fp.ll) @vreduce_ord_fadd_v8f64 via llvm-extract |
| Config: | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+d,+xtheadba -O2 |
| Local check: | reproduces at d9924131a4 |
| Compiler Explorer: | not uploaded (over --godbolt-limit or disabled) |
Snippet:
define double @vreduce_ord_fadd_v8f64(ptr %x, double %s) {
%v = load <8 x double>, ptr %x, align 64
%red = call double @llvm.vector.reduce.fadd.v8f64(double %s, <8 x double> %v)
store <8 x double> %v, ptr poison, align 64
ret double %red
}
; Function Attrs: nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.vector.reduce.fadd.v8f64(double, <8 x double>) #0
attributes #0 = { nocallback nocreateundeforpoison nofree nosync nounwind speculatable willreturn memory(none) }
Reproduce:
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+d,+xtheadba -O2 -global-isel -global-isel-abort=2 -pass-remarks-missed=gisel.* snippet.ll -o -
llc -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+d,+xtheadba -O2 -global-isel=0 snippet.ll -o -
Local llc output:
remark: <unknown>:0:0: unable to legalize instruction: %3:_(f64) = G_VECREDUCE_SEQ_FADD %1:_(f64), %2:_(<8 x f64>) (in function: vreduce_ord_fadd_v8f64)
warning: Instruction selection used fallback path for vreduce_ord_fadd_v8f64
Occurrences (4):
| Input | Function | Config |
|---|
| fixed-vectors-reduction-fp.24afad3132.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_ord_fwadd_v16f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+f,+d,+xtheadba -O0 -code-model=small |
| fixed-vectors-reduction-fp.4d326d4126.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_ord_fadd_v8f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+d,+xtheadba -O2 |
| fixed-vectors-reduction-fp.61f36a604b.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_ord_fadd_v8f64 | -mtriple=riscv32 -verify-machineinstrs -mattr=+v,+zfh,+zvfhmin,+f,+zfa -O2 |
| fixed-vectors-reduction-fp.6cd91c54c1.ll (mutant of fixed-vectors-reduction-fp.ll) | vreduce_ord_fwadd_v8f64 | -mtriple=riscv32 -target-abi=ilp32d -verify-machineinstrs -mattr=+v,+zfh,+zvfh,+f,+d,+zve32x -O3 |
Generated 2026-11-29 14:49 UTC.