[PATCH] D124769: [SLP] AdjustExtractsCost - remove redundant subvector extraction code
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat May 14 02:37:02 PDT 2022
RKSimon added a comment.
In D124769#3498929 <https://reviews.llvm.org/D124769#3498929>, @ABataev wrote:
> In D124769#3498914 <https://reviews.llvm.org/D124769#3498914>, @RKSimon wrote:
>
>> I'll come back to this - ideally we'd avoid handling the subvector cost adjustments in SLP and let getScalarizationOverhead deal with it.
>
> I think this is possible, but need to reimplement the whole `AdjustExtractsCost`, need to use getScalarizationOverhead instead of getVectorInstrCostr.
D125527 <https://reviews.llvm.org/D125527> improves the duplicated subvector extraction costs on x86
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124769/new/
https://reviews.llvm.org/D124769
More information about the llvm-commits
mailing list