projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a385c20
)
Remove untrue comment.
author
Jakub Staszak
<jstaszak@apple.com>
Sun, 31 Jul 2011 04:51:14 +0000
(
04:51
+0000)
committer
Jakub 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
patch
|
blob
|
history
diff --git
a/lib/Analysis/BranchProbabilityInfo.cpp
b/lib/Analysis/BranchProbabilityInfo.cpp
index 014cedc1d536d2c3946c0e2d4c68ea98a688f7e3..9e613ba24ea032ee0cb2a83efeb190ca9cf1ed3b 100644
(file)
--- 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;