summaryrefslogtreecommitdiffstats
path: root/polly/lib/Support/SCEVValidator.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-08-15 20:59:30 +0000
committerTobias Grosser <tobias@grosser.es>2016-08-15 20:59:30 +0000
commitc80c15bd501d9a7c3d356599f33dd7c92a7ea013 (patch)
tree3b7717bc2963792796615eeaaba21c673cb899bd /polly/lib/Support/SCEVValidator.cpp
parent3e9acec2fadf811a26b184e9a594f2bcb737279e (diff)
downloadbcm5719-llvm-c80c15bd501d9a7c3d356599f33dd7c92a7ea013.tar.gz
bcm5719-llvm-c80c15bd501d9a7c3d356599f33dd7c92a7ea013.zip
[ScopDetect] Do not assert in case of AddRecs with non-constant start expression
llvm-svn: 278738
Diffstat (limited to 'polly/lib/Support/SCEVValidator.cpp')
-rw-r--r--polly/lib/Support/SCEVValidator.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/polly/lib/Support/SCEVValidator.cpp b/polly/lib/Support/SCEVValidator.cpp
index f0c45892712..9d138dd3a4e 100644
--- a/polly/lib/Support/SCEVValidator.cpp
+++ b/polly/lib/Support/SCEVValidator.cpp
@@ -232,8 +232,7 @@ public:
return ValidatorResult(SCEVType::INVALID);
}
- assert(Start.isConstant() && Recurrence.isConstant() &&
- "Expected 'Start' and 'Recurrence' to be constant");
+ assert(Recurrence.isConstant() && "Expected 'Recurrence' to be constant");
// Directly generate ValidatorResult for Expr if 'start' is zero.
if (Expr->getStart()->isZero())
OpenPOWER on IntegriCloud