projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
016e977
)
[MBP] Spell the conditions the same way through out this if statement.
author
Chandler Carruth
<chandlerc@gmail.com>
Wed, 15 Apr 2015 13:39:42 +0000
(13:39 +0000)
committer
Chandler Carruth
<chandlerc@gmail.com>
Wed, 15 Apr 2015 13:39:42 +0000
(13:39 +0000)
NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235009
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineBlockPlacement.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineBlockPlacement.cpp
b/lib/CodeGen/MachineBlockPlacement.cpp
index df7c7b90f037c279b9dacccd3e390c3052e243b8..2969bad4ff98b1decb94da8c5c8af02613693393 100644
(file)
--- a/
lib/CodeGen/MachineBlockPlacement.cpp
+++ b/
lib/CodeGen/MachineBlockPlacement.cpp
@@
-715,7
+715,7
@@
MachineBlockPlacement::findBestLoopExit(MachineFunction &F, MachineLoop &L,
// a frequency higher than the current exit before we consider breaking
// the layout.
BranchProbability Bias(100 - ExitBlockBias, 100);
- if (!ExitingBB ||
BestExitLoopDepth < Succ
LoopDepth ||
+ if (!ExitingBB ||
SuccLoopDepth > BestExit
LoopDepth ||
ExitEdgeFreq > BestExitEdgeFreq ||
(MBB->isLayoutSuccessor(Succ) &&
!(ExitEdgeFreq < BestExitEdgeFreq * Bias))) {