[polly] r253050 - ScopInfo: Reset compute operations before starting compute out region
Tobias Grosser via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 13 08:56:13 PST 2015
Author: grosser
Date: Fri Nov 13 10:56:13 2015
New Revision: 253050
URL: http://llvm.org/viewvc/llvm-project?rev=253050&view=rev
Log:
ScopInfo: Reset compute operations before starting compute out region
Without this change we may start to refuse scops in larger compilation units
just because a lot of code has already been compiled earlier.
Found by inspection. I do not yet have a good test case for this.
Modified:
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=253050&r1=253049&r2=253050&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Fri Nov 13 10:56:13 2015
@@ -1634,6 +1634,7 @@ void Scop::buildBoundaryContext() {
// TODO: We can probably get around using isl_set_complement and directly
// AST generate BoundaryContext.
long MaxOpsOld = isl_ctx_get_max_operations(getIslCtx());
+ isl_ctx_reset_operations(getIslCtx());
isl_ctx_set_max_operations(getIslCtx(), 300000);
isl_options_set_on_error(getIslCtx(), ISL_ON_ERROR_CONTINUE);
More information about the llvm-commits
mailing list