IndVarSimplify: Disable simplifyIVUsers
This functionality is not available in LLVM trunk and breaks the compilation of Polly. This patch fixes the compilation, but may not be enough to recover all functionality. llvm-svn: 153318
This commit is contained in:
parent
d87492bb8c
commit
3e72197efc
|
@ -1846,8 +1846,13 @@ bool PollyIndVarSimplify::runOnLoop(Loop *L, LPPassManager &LPM) {
|
||||||
RewriteLoopExitValues(L, Rewriter);
|
RewriteLoopExitValues(L, Rewriter);
|
||||||
|
|
||||||
// Eliminate redundant IV users.
|
// Eliminate redundant IV users.
|
||||||
if (EnableIVRewrite)
|
// FIXME: Disabled as the function was removed from LLVM trunk. We may get
|
||||||
Changed |= simplifyIVUsers(IU, SE, &LPM, DeadInsts);
|
// along with this, as Polly does not need a lot of simplifications,
|
||||||
|
// but just a canonical induction variable. In the near future, we
|
||||||
|
// should remove the need of canonical induction variables all
|
||||||
|
// together.
|
||||||
|
//if (EnableIVRewrite)
|
||||||
|
// Changed |= simplifyIVUsers(IU, SE, &LPM, DeadInsts);
|
||||||
|
|
||||||
// Eliminate redundant IV cycles.
|
// Eliminate redundant IV cycles.
|
||||||
if (!EnableIVRewrite)
|
if (!EnableIVRewrite)
|
||||||
|
|
Loading…
Reference in New Issue