[llvm] [GenericDomTree][NFC] Use llvm algorithms (PR #97104)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 12 10:54:23 PDT 2024


================
@@ -885,6 +874,12 @@ class DominatorTreeBase {
         NewBBIDom = findNearestCommonDominator(NewBBIDom, PredBlocks[i]);
     }
 
+    bool NewBBDominatesNewBBSucc =
----------------
dwblaikie wrote:

Yeah, just makes things a bit clearer/easier to review, thanks!

https://github.com/llvm/llvm-project/pull/97104


More information about the llvm-commits mailing list