[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
Wed Nov 18 22:38:12 PST 2020
mkazantsev created this revision.
mkazantsev added reviewers: skatkov, nikic, asbirlea, vsk.
Herald added subscribers: llvm-commits, dexonsmith, kuhar, hiraditya.
Herald added a project: LLVM.
mkazantsev requested review of this revision.
This patch adds function findNearestCommonDominatorInst that, for a given
set of instructions, finds their nearest dominating instruction.
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.306316.patch
Type: text/x-patch
Size: 4379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201119/b5f26892/attachment.bin>
More information about the llvm-commits
mailing list