[PATCH] D42114: Teach ConstantFoldTerminator to preserve DomTree

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 10:33:17 PST 2018


kuhar added inline comments.


================
Comment at: lib/Transforms/Utils/Local.cpp:247
+          if (DT)
+            Updates.push_back({DominatorTree::Delete, BB, Succ});
+        }
----------------
Same as with the other deletions.


https://reviews.llvm.org/D42114





More information about the llvm-commits mailing list