diff options
author | Evgeny Stupachenko <evstupac@gmail.com> | 2018-03-22 22:04:39 +0000 |
---|---|---|
committer | Evgeny Stupachenko <evstupac@gmail.com> | 2018-03-22 22:04:39 +0000 |
commit | 579507a53ad6f2fd384a139f8e40841a07958bfe (patch) | |
tree | af11964ff50b475b5a5222eeb1b846e7c6f27dc6 /llvm/lib/Analysis/ScalarEvolution.cpp | |
parent | 56d4846fcf5a7ce28afc33982014806c9de076e4 (diff) | |
download | bcm5719-llvm-579507a53ad6f2fd384a139f8e40841a07958bfe.tar.gz bcm5719-llvm-579507a53ad6f2fd384a139f8e40841a07958bfe.zip |
Revert r325687 (workaround for PR36032).
Summary:
Revert r325687 workaround for PR36032 since
a fix was committed in r326154.
Reviewers: sbaranga
Differential Revision: http://reviews.llvm.org/D44768
From: Evgeny Stupachenko <evstupac@gmail.com>
<evgeny.v.stupachenko@intel.com>
llvm-svn: 328257
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-rw-r--r-- | llvm/lib/Analysis/ScalarEvolution.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp index 0d7021e3da4..004eac7f555 100644 --- a/llvm/lib/Analysis/ScalarEvolution.cpp +++ b/llvm/lib/Analysis/ScalarEvolution.cpp @@ -205,11 +205,6 @@ static cl::opt<unsigned> cl::desc("Max coefficients in AddRec during evolving"), cl::init(16)); -static cl::opt<bool> VersionUnknown( - "scev-version-unknown", cl::Hidden, - cl::desc("Use predicated scalar evolution to version SCEVUnknowns"), - cl::init(false)); - //===----------------------------------------------------------------------===// // SCEV class definitions //===----------------------------------------------------------------------===// @@ -11644,8 +11639,6 @@ private: // couldn't create an AddRec for it, or couldn't add the predicate), we just // return \p Expr. const SCEV *convertToAddRecWithPreds(const SCEVUnknown *Expr) { - if (!VersionUnknown) - return Expr; if (!isa<PHINode>(Expr->getValue())) return Expr; Optional<std::pair<const SCEV *, SmallVector<const SCEVPredicate *, 3>>> |