summaryrefslogtreecommitdiffstats
path: root/polly/lib/Transform/ForwardOpTree.cpp
diff options
context:
space:
mode:
authorPhilip Pfaffe <philip.pfaffe@gmail.com>2017-11-19 22:13:34 +0000
committerPhilip Pfaffe <philip.pfaffe@gmail.com>2017-11-19 22:13:34 +0000
commit00fd43b327a252280db1c34696efee809c2286bc (patch)
tree093cf147174d34b59f3ccea6abec1607f37232e5 /polly/lib/Transform/ForwardOpTree.cpp
parent0f45abdef73db109bae53cd470e73982d35f8b0f (diff)
downloadbcm5719-llvm-00fd43b327a252280db1c34696efee809c2286bc.tar.gz
bcm5719-llvm-00fd43b327a252280db1c34696efee809c2286bc.zip
Port ScopInfo to the isl cpp bindings
Summary: Most changes are mechanical, but in one place I changed the program semantics by fixing a likely bug: In `Scop::hasFeasibleRuntimeContext()`, I'm now explicitely handling the error-case. Before, when the call to `addNonEmptyDomainConstraints()` returned a null set, this (probably) accidentally worked because isl_bool_error converts to true. I'm checking for nullptr now. Reviewers: grosser, Meinersbur, bollu Reviewed By: Meinersbur Subscribers: nemanjai, kbarton, pollydev, llvm-commits Differential Revision: https://reviews.llvm.org/D39971 llvm-svn: 318632
Diffstat (limited to 'polly/lib/Transform/ForwardOpTree.cpp')
-rw-r--r--polly/lib/Transform/ForwardOpTree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/polly/lib/Transform/ForwardOpTree.cpp b/polly/lib/Transform/ForwardOpTree.cpp
index d31940dca85..dbdf8fc35a8 100644
--- a/polly/lib/Transform/ForwardOpTree.cpp
+++ b/polly/lib/Transform/ForwardOpTree.cpp
@@ -962,7 +962,7 @@ public:
LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo();
{
- IslMaxOperationsGuard MaxOpGuard(S.getIslCtx(), MaxOps, false);
+ IslMaxOperationsGuard MaxOpGuard(S.getIslCtx().get(), MaxOps, false);
Impl = llvm::make_unique<ForwardOpTreeImpl>(&S, &LI, MaxOpGuard);
if (AnalyzeKnown) {
OpenPOWER on IntegriCloud