diff options
author | Alexey Bataev <a.bataev@outlook.com> | 2025-09-01 17:01:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-01 17:01:36 -0400 |
commit | 74230ff2791384fb3285c9e9ab202056959aa095 (patch) | |
tree | cc040a997814ee951bd6e43e76e2aab4391f0c92 /llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp | |
parent | fdfc751d39f81f5e0befc898d3fc1994ea655d07 (diff) | |
download | llvm-74230ff2791384fb3285c9e9ab202056959aa095.zip llvm-74230ff2791384fb3285c9e9ab202056959aa095.tar.gz llvm-74230ff2791384fb3285c9e9ab202056959aa095.tar.bz2 |
[SLP]Improved/fixed FMAD support in reductions
In the initial patch for FMAD, potential FMAD nodes were completely
excluded from the reduction analysis for the smaller patch. But it may
cause regressions.
This patch adds better detection of scalar FMAD reduction operations and
tries to correctly calculate the costs of the FMAD reduction operations
(also, excluding the costs of the scalar fmuls) and split reduction
operations, combined with regular FMADs.
Reviewers: RKSimon, gregbedwell, hiraditya
Reviewed By: RKSimon
Pull Request: https://github.com/llvm/llvm-project/pull/152787
Diffstat (limited to 'llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions