[PATCH] D91767: [DomTree][NFC] Introduce function that finds common dom of multiple instructions

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 23 02:42:30 PST 2020


mkazantsev updated this revision to Diff 307014.
mkazantsev added a comment.

Fixed check (as expected, `dominates` fails for two Phis from the same block).


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

https://reviews.llvm.org/D91767

Files:
  llvm/include/llvm/IR/Dominators.h
  llvm/lib/IR/Dominators.cpp
  llvm/unittests/IR/DominatorTreeTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91767.307014.patch
Type: text/x-patch
Size: 7728 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201123/d55acf68/attachment.bin>


More information about the llvm-commits mailing list