mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Improve isImpliedCond comment a bit.
llvm-svn: 168914
This commit is contained in:
parent
880f363d8f
commit
63817bf5f9
@ -6120,8 +6120,8 @@ bool ScalarEvolution::isImpliedCond(ICmpInst::Predicate Pred,
|
||||
getTypeSizeInBits(ICI->getOperand(0)->getType()))
|
||||
return false;
|
||||
|
||||
// Now that we found a conditional branch that dominates the loop, check to
|
||||
// see if it is the comparison we are looking for.
|
||||
// Now that we found a conditional branch that dominates the loop or controls
|
||||
// the loop latch. Check to see if it is the comparison we are looking for.
|
||||
ICmpInst::Predicate FoundPred;
|
||||
if (Inverse)
|
||||
FoundPred = ICI->getInversePredicate();
|
||||
|
Loading…
Reference in New Issue
Block a user