[PATCH] D25880: [polly] Change SmallPtrSet which is being iterated to SmallSetVector in ScopInfo.h
Mandeep Singh Grang via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 21 14:09:32 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL284883: [polly] Change SmallPtrSet which is being iterated to SmallSetVector in… (authored by mgrang).
Changed prior to commit:
https://reviews.llvm.org/D25880?vs=75466&id=75483#toc
Repository:
rL LLVM
https://reviews.llvm.org/D25880
Files:
polly/trunk/include/polly/ScopInfo.h
Index: polly/trunk/include/polly/ScopInfo.h
===================================================================
--- polly/trunk/include/polly/ScopInfo.h
+++ polly/trunk/include/polly/ScopInfo.h
@@ -270,7 +270,7 @@
const ScopArrayInfo *getBasePtrOriginSAI() const { return BasePtrOriginSAI; }
/// The set of derived indirect SAIs for this origin SAI.
- const SmallPtrSetImpl<ScopArrayInfo *> &getDerivedSAIs() const {
+ const SmallSetVector<ScopArrayInfo *, 2> &getDerivedSAIs() const {
return DerivedSAIs;
}
@@ -369,7 +369,7 @@
const ScopArrayInfo *BasePtrOriginSAI;
/// For origin SAIs the set of derived indirect SAIs.
- SmallPtrSet<ScopArrayInfo *, 2> DerivedSAIs;
+ SmallSetVector<ScopArrayInfo *, 2> DerivedSAIs;
/// The base pointer.
AssertingVH<Value> BasePtr;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25880.75483.patch
Type: text/x-patch
Size: 806 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161021/5a33ef99/attachment.bin>
More information about the llvm-commits
mailing list