Commit cfe97681 authored by Evgeniy Brevnov's avatar Evgeniy Brevnov
Browse files

[NFC][LoopUtils] Minor change in comment according to review D71990.

parent 952a540b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -727,7 +727,7 @@ Optional<unsigned> llvm::getLoopEstimatedTripCount(Loop *L) {
    return None;

  // Estimated backedge taken count is a ratio of the backedge taken weight by
  // the the edge exiting weight, rounded to nearest.
  // the weight of the edge exiting the loop, rounded to nearest.
  uint64_t BackedgeTakenCount =
      llvm::divideNearest(BackedgeTakenWeight, LatchExitWeight);
  // Estimated trip count is one plus estimated backedge taken count.