[llvm-branch-commits] [llvm] [DTU] fix dominator tree update eliding reachable nodes (PR #177683)

Mircea Trofin via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Feb 20 06:55:11 PST 2026


================
@@ -1080,7 +1080,8 @@ struct SemiNCAInfo {
       LLVM_DEBUG(dbgs() << "Processing affected node " << BlockNamePrinter(TN)
                         << " with NCD = " << BlockNamePrinter(NCD)
                         << ", MinNode =" << BlockNamePrinter(MinNode) << "\n");
-      if (NCD != TN && NCD->getLevel() < MinNode->getLevel()) MinNode = NCD;
+      if (NCD != TN && NCD->getLevel() < MinNode->getLevel())
+        MinNode = NCD;
----------------
mtrofin wrote:

yes, ptal below this in the graphite stack.



I ran `clang-format` on the whole file, it did more than just this line but "it's probably for the best"

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


More information about the llvm-branch-commits mailing list