mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
[LoopUnswitch] Correct misleading comments.
Reviewers: reames Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D13738 llvm-svn: 250317
This commit is contained in:
parent
796feea796
commit
fecbc60363
@ -487,8 +487,7 @@ bool LoopUnswitch::processCurrentLoop() {
|
||||
|
||||
LLVMContext &Context = loopHeader->getContext();
|
||||
|
||||
// Probably we reach the quota of branches for this loop. If so
|
||||
// stop unswitching.
|
||||
// Analyze loop cost, and stop unswitching if loop content can not be duplicated.
|
||||
if (!BranchesInfo.countLoop(
|
||||
currentLoop, getAnalysis<TargetTransformInfoWrapperPass>().getTTI(
|
||||
*currentLoop->getHeader()->getParent()),
|
||||
|
Loading…
Reference in New Issue
Block a user