[polly] r271522 - Simplify the schedule domain according to the context

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 2 08:07:55 PDT 2016


Author: jdoerfert
Date: Thu Jun  2 10:07:41 2016
New Revision: 271522

URL: http://llvm.org/viewvc/llvm-project?rev=271522&view=rev
Log:
Simplify the schedule domain according to the context

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=271522&r1=271521&r2=271522&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Thu Jun  2 10:07:41 2016
@@ -2045,6 +2045,9 @@ void Scop::realignParams() {
 
   for (ScopStmt &Stmt : *this)
     Stmt.realignParams();
+
+  // Simplify the schedule according to the context too.
+  Schedule = isl_schedule_gist_domain_params(Schedule, getContext());
 }
 
 static __isl_give isl_set *




More information about the llvm-commits mailing list