mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 20:29:48 +00:00
Remove untrue comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136587 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a385c20d42
commit
4faf553d50
@ -346,12 +346,9 @@ bool BranchProbabilityAnalysis::runOnFunction(Function &F) {
|
|||||||
for (Function::iterator I = F.begin(), E = F.end(); I != E; ) {
|
for (Function::iterator I = F.begin(), E = F.end(); I != E; ) {
|
||||||
BasicBlock *BB = I++;
|
BasicBlock *BB = I++;
|
||||||
|
|
||||||
// Only LBH uses setEdgeWeight method.
|
|
||||||
if (calcLoopBranchHeuristics(BB))
|
if (calcLoopBranchHeuristics(BB))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
// PH and RH use only incEdgeWeight and decEwdgeWeight methods to
|
|
||||||
// not efface LBH results.
|
|
||||||
if (calcReturnHeuristics(BB))
|
if (calcReturnHeuristics(BB))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user