[PATCH] D158849: [GVN] Invalidate MDA when deduplicating phi nodes

Guozhi Wei via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 25 08:32:13 PDT 2023


Carrot added inline comments.


================
Comment at: llvm/include/llvm/Transforms/Utils/Local.h:170
+bool EliminateDuplicatePHINodes(
+    BasicBlock *BB, SmallSetVector<PHINode *, 4> *ToRemove = nullptr);
 
----------------
Why not use SmallPtrSet?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158849/new/

https://reviews.llvm.org/D158849



More information about the llvm-commits mailing list