[PATCH] D124769: [SLP] AdjustExtractsCost - remove redundant subvector extraction code

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat May 7 09:58:17 PDT 2022


ABataev added a comment.

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.


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