[PATCH] D102933: [SLP]Improve cost estimation/emission of externally used extractelements.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 21 13:01:45 PDT 2021


ABataev added a comment.

Reworked the patch, had to make changes for the vectorizable extractelements compensation cost. Also, we were not quite correct when trying to check for the vectorized users, need to check also if the instruction is going to be vectorized as a reduction value. Otherwise we could be too optimistic in non-reduction cases (when extractelements are the seeds and their user is not actually in the vectorization graph).


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102933



More information about the llvm-commits mailing list