[PATCH] D48383: [Dominators] Add the DomTreeUpdater class
Jakub Kuderski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 29 10:20:32 PDT 2018
kuhar added inline comments.
================
Comment at: lib/IR/DomTreeUpdater.cpp:34
+ const bool HasEdge = llvm::any_of(
+ successors(From), [To](const BasicBlock *B) { return B == To; });
+
----------------
Still missed? Can we use llvm::find here?
https://reviews.llvm.org/D48383
More information about the llvm-commits
mailing list