[polly] r247907 - Do not use the assumed context in the dependence analysis any more

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 10:28:19 PDT 2015


Author: grosser
Date: Thu Sep 17 12:28:19 2015
New Revision: 247907

URL: http://llvm.org/viewvc/llvm-project?rev=247907&view=rev
Log:
Do not use the assumed context in the dependence analysis any more

This information is implicitly available through the multi-dimensionality of
memory accesses. This reduces compile time for 3mm from 430ms to 400ms and
should generally benefit compile time for cases where the assumed context
is complex.

Modified:
    polly/trunk/lib/Analysis/DependenceInfo.cpp

Modified: polly/trunk/lib/Analysis/DependenceInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/DependenceInfo.cpp?rev=247907&r1=247906&r2=247907&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/DependenceInfo.cpp (original)
+++ polly/trunk/lib/Analysis/DependenceInfo.cpp Thu Sep 17 12:28:19 2015
@@ -265,8 +265,6 @@ void Dependences::calculateDependences(S
   if (isl_union_map_is_empty(AccessSchedule)) {
     isl_union_map_free(AccessSchedule);
     Schedule = S.getScheduleTree();
-    Schedule = isl_schedule_intersect_domain(
-        Schedule, isl_union_set_from_set(S.getAssumedContext()));
   } else {
     auto *ScheduleMap =
         isl_union_map_union(AccessSchedule, isl_union_map_copy(StmtSchedule));




More information about the llvm-commits mailing list