diff options
| author | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-04-26 19:55:21 +0000 |
|---|---|---|
| committer | Johannes Doerfert <doerfert@cs.uni-saarland.de> | 2015-04-26 19:55:21 +0000 |
| commit | d5d8f67dc5ec18bfd172dc620a49f68db898512d (patch) | |
| tree | 89eaf122b5b93b0689caba5e925014c5a7baa6b5 /polly/lib/Support/SCEVValidator.cpp | |
| parent | 63294cbb6a2bc9a48aa2367e61136b13ab1ac12d (diff) | |
| download | bcm5719-llvm-d5d8f67dc5ec18bfd172dc620a49f68db898512d.tar.gz bcm5719-llvm-d5d8f67dc5ec18bfd172dc620a49f68db898512d.zip | |
Use the original no-wrap flags for normalized AddRecs
llvm-svn: 235822
Diffstat (limited to 'polly/lib/Support/SCEVValidator.cpp')
| -rw-r--r-- | polly/lib/Support/SCEVValidator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Support/SCEVValidator.cpp b/polly/lib/Support/SCEVValidator.cpp index 1cfbd66d852..80c2249769a 100644 --- a/polly/lib/Support/SCEVValidator.cpp +++ b/polly/lib/Support/SCEVValidator.cpp @@ -287,7 +287,7 @@ public: // if 'start' is not zero. const SCEV *ZeroStartExpr = SE.getAddRecExpr( SE.getConstant(Expr->getStart()->getType(), 0), - Expr->getStepRecurrence(SE), Expr->getLoop(), SCEV::FlagAnyWrap); + Expr->getStepRecurrence(SE), Expr->getLoop(), Expr->getNoWrapFlags()); ValidatorResult ZeroStartResult = ValidatorResult(SCEVType::PARAM, ZeroStartExpr); |

