[PATCH] D66698: [ScopBuilder]Remove redundant while loop in ScopBuilder::buildDomains

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 29 07:44:15 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6220ce60de87: [ScopBuilder] Remove superfluous while loop in buildDomains. NFC. (authored by Meinersbur).
Herald added a reviewer: bollu.

Changed prior to commit:
  https://reviews.llvm.org/D66698?vs=216999&id=217878#toc

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66698/new/

https://reviews.llvm.org/D66698

Files:
  polly/lib/Analysis/ScopBuilder.cpp


Index: polly/lib/Analysis/ScopBuilder.cpp
===================================================================
--- polly/lib/Analysis/ScopBuilder.cpp
+++ polly/lib/Analysis/ScopBuilder.cpp
@@ -831,10 +831,6 @@
   auto *S =
       isl_set_universe(isl_space_set_alloc(scop->getIslCtx().get(), 0, LD + 1));
 
-  while (LD-- >= 0) {
-    L = L->getParentLoop();
-  }
-
   InvalidDomainMap[EntryBB] = isl::manage(isl_set_empty(isl_set_get_space(S)));
   isl::noexceptions::set Domain = isl::manage(S);
   scop->setDomain(EntryBB, Domain);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66698.217878.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190829/cac2193b/attachment.bin>


More information about the llvm-commits mailing list