[polly] r234117 - Make run-time alias check generation deterministic
Tobias Grosser
tobias at grosser.es
Sun Apr 5 06:11:55 PDT 2015
Author: grosser
Date: Sun Apr 5 08:11:54 2015
New Revision: 234117
URL: http://llvm.org/viewvc/llvm-project?rev=234117&view=rev
Log:
Make run-time alias check generation deterministic
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=234117&r1=234116&r2=234117&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Sun Apr 5 08:11:54 2015
@@ -25,6 +25,7 @@
#include "polly/Support/ScopHelper.h"
#include "polly/TempScopInfo.h"
#include "llvm/ADT/SetVector.h"
+#include "llvm/ADT/MapVector.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/Analysis/LoopInfo.h"
@@ -1543,7 +1544,7 @@ bool Scop::buildAliasGroups(AliasAnalysi
isl_set_free(AGDomain);
}
- DenseMap<const Value *, SmallPtrSet<MemoryAccess *, 8>> ReadOnlyPairs;
+ MapVector<const Value *, SmallPtrSet<MemoryAccess *, 8>> ReadOnlyPairs;
SmallPtrSet<const Value *, 4> NonReadOnlyBaseValues;
for (AliasGroupTy &AG : AliasGroups) {
NonReadOnlyBaseValues.clear();
More information about the llvm-commits
mailing list