[PATCH] D64601: [MemorySSA] Use SetVector to avoid nondeterminism.
David Blaikie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 15:27:08 PDT 2019
dblaikie added a comment.
In D64601#1581711 <https://reviews.llvm.org/D64601#1581711>, @asbirlea wrote:
> I'd be interested if there's a better way to use a `SmallSetVector`, without needing the "8". I don't see an `Impl` version.
> The only alternative I came up with was something like:
>
> template <class OrderedSetT>
> void removeBlocks(const OrderedSetT &DeadBlocks);
>
You can use SetVector's "getArrayRef" and pass it as "void removeBlocks(ArrayRef<BasicBlock *> DeadBlocks);"
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64601/new/
https://reviews.llvm.org/D64601
More information about the llvm-commits
mailing list