forked from OSchip/llvm-project
parent
b1c4d5507f
commit
66476b582d
|
@ -460,7 +460,8 @@ static bool getSCEVStartAndStride(const SCEVHandle &SH, Loop *L,
|
||||||
|
|
||||||
// If Start contains an SCEVAddRecExpr from a different loop, other than an
|
// If Start contains an SCEVAddRecExpr from a different loop, other than an
|
||||||
// outer loop of the current loop, reject it. SCEV has no concept of
|
// outer loop of the current loop, reject it. SCEV has no concept of
|
||||||
// operating on one loop at a time so don't confuse it with such expressions.
|
// operating on more than one loop at a time so don't confuse it with such
|
||||||
|
// expressions.
|
||||||
if (containsAddRecFromDifferentLoop(AddRec->getOperand(0), L))
|
if (containsAddRecFromDifferentLoop(AddRec->getOperand(0), L))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue