[PATCH] D71990: [LoopUtils] Better accuracy for getLoopEstimatedTripCount.
Ayal Zaks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 16 23:49:35 PST 2020
Ayal accepted this revision.
Ayal added a comment.
This revision is now accepted and ready to land.
This look good to me, with a last minor nit, thanks!
================
Comment at: llvm/lib/Transforms/Utils/LoopUtils.cpp:728
+ // Estimated backedge taken count is a ratio of the backedge taken weight by
+ // the the edge exiting weight, rounded to nearest.
+ uint64_t BackedgeTakenCount =
----------------
"the the edge exiting weight" >> "the weight of the edge exiting the loop"
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71990/new/
https://reviews.llvm.org/D71990
More information about the llvm-commits
mailing list