aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@outlook.com>2025-09-01 17:01:36 -0400
committerAlexey Bataev <a.bataev@outlook.com>2025-09-02 13:09:57 -0700
commit005f0fa40ed3fe4657322f95916577c2f855719b (patch)
treede21acf0d686801c19888cf684124b5a95a016fb /flang/lib/Frontend/CompilerInvocation.cpp
parentcea2c8625e801bdabca5e73d050300dc4060df00 (diff)
downloadllvm-005f0fa40ed3fe4657322f95916577c2f855719b.zip
llvm-005f0fa40ed3fe4657322f95916577c2f855719b.tar.gz
llvm-005f0fa40ed3fe4657322f95916577c2f855719b.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. Fixed the handling for reduced values with many uses. Reviewers: RKSimon, gregbedwell, hiraditya Reviewed By: RKSimon Pull Request: https://github.com/llvm/llvm-project/pull/152787
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions