[PATCH] D158849: [GVN] Invalidate MDA when deduplicating phi nodes
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 25 08:37:39 PDT 2023
nikic added inline comments.
================
Comment at: llvm/include/llvm/Transforms/Utils/Local.h:170
+bool EliminateDuplicatePHINodes(
+ BasicBlock *BB, SmallSetVector<PHINode *, 4> *ToRemove = nullptr);
----------------
Carrot wrote:
> Why not use SmallPtrSet?
I was trying to make sure the order is deterministic -- maybe it doesn't matter though?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D158849/new/
https://reviews.llvm.org/D158849
More information about the llvm-commits
mailing list