[PATCH] D112307: [X86] `X86TTIImpl::getInterleavedMemoryOpCost()`: scale interleaving cost by the fraction of live members

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 22 06:28:52 PDT 2021


RKSimon added a comment.

In D112307#3080510 <https://reviews.llvm.org/D112307#3080510>, @lebedev.ri wrote:

> In D112307#3080480 <https://reviews.llvm.org/D112307#3080480>, @RKSimon wrote:
>
>> SGTM - cheers
>
> To check - was it clear from my explanation that this is a *rough* approximation,
> that can deviate from reality in either direction, i.e. it may both be
> higher cost than in reality, and for some cases it might be lower cost than in reality?

Yes - which is why I asked you to include that as a comment to GetDiscountedCost. Cheers.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112307/new/

https://reviews.llvm.org/D112307



More information about the llvm-commits mailing list