Remove untrue comment.
authorJakub Staszak <jstaszak@apple.com>
Sun, 31 Jul 2011 04:51:14 +0000 (04:51 +0000)
committerJakub Staszak <jstaszak@apple.com>
Sun, 31 Jul 2011 04:51:14 +0000 (04:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136587 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/BranchProbabilityInfo.cpp

index 014cedc1d536d2c3946c0e2d4c68ea98a688f7e3..9e613ba24ea032ee0cb2a83efeb190ca9cf1ed3b 100644 (file)
@@ -346,12 +346,9 @@ bool BranchProbabilityAnalysis::runOnFunction(Function &F) {
   for (Function::iterator I = F.begin(), E = F.end(); I != E; ) {
     BasicBlock *BB = I++;
 
-    // Only LBH uses setEdgeWeight method.
     if (calcLoopBranchHeuristics(BB))
       continue;
 
-    // PH and RH use only incEdgeWeight and decEwdgeWeight methods to
-    // not efface LBH results.
     if (calcReturnHeuristics(BB))
       continue;