mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 13:11:39 +01:00
Remove untrue comment.
llvm-svn: 136587
This commit is contained in:
parent
6795c54cb7
commit
0fe2246aab
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user