[PATCH] D124867: [SLP][NFC] Pre-commit test showing horizontal reduction preventing FMA
Alexey Bataev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 11 07:27:56 PDT 2022
ABataev added a comment.
In D124867#3506211 <https://reviews.llvm.org/D124867#3506211>, @wjschmidt wrote:
> In D124867#3506146 <https://reviews.llvm.org/D124867#3506146>, @ABataev wrote:
>
>> The undefs still here.
>
> Yes, see above -- I was unable to find a sequence without the undefs that causes the horizontal reduction to kick in.
>
>> Also, why these sequences are not optimized by InsrtuctionCombiner to FMA?
>
> Phase ordering -- it seems the FMA combining happens quite late in the pipeline. When we replace the adds with a horizontal reduction, the opportunity is removed.
Why, could you investigate it?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124867/new/
https://reviews.llvm.org/D124867
More information about the llvm-commits
mailing list