[polly] r310218 - Remove functional changes that sneaked in by accident in r308892

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 6 11:59:19 PDT 2017


Author: grosser
Date: Sun Aug  6 11:59:19 2017
New Revision: 310218

URL: http://llvm.org/viewvc/llvm-project?rev=310218&view=rev
Log:
Remove functional changes that sneaked in by accident in r308892

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=310218&r1=310217&r2=310218&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Sun Aug  6 11:59:19 2017
@@ -4698,15 +4698,6 @@ Scop::getAccessesOfType(std::function<bo
   }
 
   return isl_union_map_coalesce(Accesses);
-
-  for (auto X : this->getInvariantAccesses())
-    for (auto A : X.InvariantAccesses) {
-      if (!Predicate(*A))
-        continue;
-      Accesses =
-          isl_union_map_add_map(Accesses, A->getAccessRelation().release());
-    }
-  return isl_union_map_coalesce(Accesses);
 }
 
 __isl_give isl_union_map *Scop::getMustWrites() {




More information about the llvm-commits mailing list