[PATCH] D100121: [LV] Let selectVectorizationFactor reason directly on VectorizationFactor.
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 12 06:29:01 PDT 2021
dmgreen added inline comments.
================
Comment at: llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h:203
+ // Returns true if this VectorizationFactor is more profitable than \p rhs.
+ bool isMoreProfitableThan(const VectorizationFactor &rhs) const {
+ InstructionCost::CostType ThisCost = *Cost.getValue();
----------------
rhs -> RHS
If the backend knew that the SVE vector length was 256, as opposed 128, how would it best communicate that information to here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D100121/new/
https://reviews.llvm.org/D100121
More information about the llvm-commits
mailing list