From 4faf553d508f4bc657563ca538392108a3858483 Mon Sep 17 00:00:00 2001 From: Jakub Staszak Date: Sun, 31 Jul 2011 04:51:14 +0000 Subject: [PATCH] Remove untrue comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136587 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/BranchProbabilityInfo.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/Analysis/BranchProbabilityInfo.cpp b/lib/Analysis/BranchProbabilityInfo.cpp index 014cedc1d53..9e613ba24ea 100644 --- a/lib/Analysis/BranchProbabilityInfo.cpp +++ b/lib/Analysis/BranchProbabilityInfo.cpp @@ -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;