26a27
> #include "llvm/Support/CommandLine.h"
33a35,38
> static cl::opt<bool>
> SimplifyIVUsers("simplify-iv-users", cl::Hidden, cl::init(false),
> cl::desc("Restrict IV Users to loop-invariant strides"));
>
210a216,220
> // Keep things simple. Don't touch loop-variant strides.
> if (SimplifyIVUsers && !Stride->isLoopInvariant(L)
> && L->contains(I->getParent()))
> return false;
>
> #include "llvm/Support/CommandLine.h"
33a35,38
> static cl::opt<bool>
> SimplifyIVUsers("simplify-iv-users", cl::Hidden, cl::init(false),
> cl::desc("Restrict IV Users to loop-invariant strides"));
>
210a216,220
> // Keep things simple. Don't touch loop-variant strides.
> if (SimplifyIVUsers && !Stride->isLoopInvariant(L)
> && L->contains(I->getParent()))
> return false;
>