[PATCH] D40146: [JumpThreading] Preservation of DT and LVI across the pass

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 12 12:22:09 PST 2018


kuhar accepted this revision.
kuhar added a comment.

Looks good now, thanks for the changes!



================
Comment at: llvm/unittests/IR/DeferredDominanceTest.cpp:212
+
+  // CFG Change: remove new_edge -> bb0, redirect to new_edge -> bb1
+  EXPECT_EQ(NewEntry->getTerminator()->getNumSuccessors(), 1u);
----------------
Nit: missing comma.


https://reviews.llvm.org/D40146





More information about the llvm-commits mailing list