[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:08:42 PDT 2017
mgrang updated this revision to Diff 113456.
https://reviews.llvm.org/D37349
Files:
lib/Transform/MaximalStaticExpansion.cpp
Index: lib/Transform/MaximalStaticExpansion.cpp
===================================================================
--- lib/Transform/MaximalStaticExpansion.cpp
+++ 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.113456.patch
Type: text/x-patch
Size: 593 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170831/44bedf8a/attachment.bin>
More information about the llvm-commits
mailing list