[PATCH] D48383: [Dominators] Add the DomTreeUpdater class

Chijun Sima via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 27 11:45:42 PDT 2018


NutshellySima updated this revision to Diff 153145.
NutshellySima added a comment.

1. Make DomTreeUpdater flush() on deconstruction.
2. Add insertEdgeRelaxed() and deleteEdgeRelaxed() to cover the behavior of the original DeferredDominance's insertEdge()/deleteEdge().
3. Modify unittests to test the 2 new functions.


https://reviews.llvm.org/D48383

Files:
  include/llvm/IR/DomTreeUpdater.h
  lib/IR/CMakeLists.txt
  lib/IR/DomTreeUpdater.cpp
  unittests/IR/CMakeLists.txt
  unittests/IR/DomTreeUpdaterTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48383.153145.patch
Type: text/x-patch
Size: 53576 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180627/7bda6ff4/attachment-0001.bin>


More information about the llvm-commits mailing list