[PATCH] D101555: [SLP]Improve handling of compensate external uses cost.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 4 14:48:26 PDT 2021


ABataev added inline comments.


================
Comment at: llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp:601
   /// \returns the vectorization cost of the subtree that starts at \p VL.
   /// A negative number means that this is profitable.
+  InstructionCost getTreeCost(ArrayRef<Value *> InsertUses = None);
----------------
RKSimon wrote:
> Explain the purpose of InsertUses in the doxygen
Will add, thanks!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101555



More information about the llvm-commits mailing list