[PATCH] D37349: [polly] Fix non-deterministic output due to iteration of unordered ScopArrayInfo

Mandeep Singh Grang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 13:11:41 PDT 2017


This revision was automatically updated to reflect the committed changes.
mgrang marked an inline comment as done.
Closed by commit rL312273: [polly] Fix non-deterministic output due to iteration of unordered ScopArrayInfo (authored by mgrang).

Changed prior to commit:
  https://reviews.llvm.org/D37349?vs=113456&id=113457#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D37349

Files:
  polly/trunk/lib/Transform/MaximalStaticExpansion.cpp


Index: polly/trunk/lib/Transform/MaximalStaticExpansion.cpp
===================================================================
--- polly/trunk/lib/Transform/MaximalStaticExpansion.cpp
+++ polly/trunk/lib/Transform/MaximalStaticExpansion.cpp
@@ -496,7 +496,7 @@
   auto &D = DI.getDependences(Dependences::AL_Reference);
   auto Dependences = isl::give(D.getDependences(Dependences::TYPE_RAW));
 
-  SmallPtrSet<ScopArrayInfo *, 4> CurrentSAI(S.arrays().begin(),
+  SmallVector<ScopArrayInfo *, 4> CurrentSAI(S.arrays().begin(),
                                              S.arrays().end());
 
   for (auto SAI : CurrentSAI) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D37349.113457.patch
Type: text/x-patch
Size: 629 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170831/50cf6f7a/attachment.bin>


More information about the llvm-commits mailing list