From 997dac8709737c9c8ab94fd7f799207dcfabf885 Mon Sep 17 00:00:00 2001 From: Michael Kuperstein Date: Sat, 3 Dec 2016 01:59:13 +0000 Subject: [PATCH] Remove stale comment. NFC. llvm-svn: 288572 --- llvm/lib/Transforms/Utils/LoopUtils.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/llvm/lib/Transforms/Utils/LoopUtils.cpp b/llvm/lib/Transforms/Utils/LoopUtils.cpp index fd35cd0..09e9f1d 100644 --- a/llvm/lib/Transforms/Utils/LoopUtils.cpp +++ b/llvm/lib/Transforms/Utils/LoopUtils.cpp @@ -1086,9 +1086,6 @@ Optional llvm::getLoopEstimatedTripCount(Loop *L) { // To estimate the number of times the loop body was executed, we want to // know the number of times the backedge was taken, vs. the number of times // we exited the loop. - // The branch weights give us almost what we want, since they were adjusted - // from the raw counts to provide a better probability estimate. Remove - // the adjustment by subtracting 1 from both weights. uint64_t TrueVal, FalseVal; if (!LatchBR->extractProfMetadata(TrueVal, FalseVal)) return None; -- 2.7.4