]> granicus.if.org Git - llvm/commitdiff
[Dominators] Fix typos. NFC.
authorJakub Kuderski <kubakuderski@gmail.com>
Wed, 26 Jul 2017 20:26:13 +0000 (20:26 +0000)
committerJakub Kuderski <kubakuderski@gmail.com>
Wed, 26 Jul 2017 20:26:13 +0000 (20:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309170 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/GenericDomTree.h
include/llvm/Support/GenericDomTreeConstruction.h

index ae16354b316ffeabeb3c8cd6ad34a0b5fc103787..8e5e4123002f63b1963f850b55c38de10731bc69 100644 (file)
@@ -484,7 +484,7 @@ class DominatorTreeBase {
   /// This function has to be called just after making the update
   /// on the actual CFG. There cannot be any other updates that the dominator
   /// tree doesn't know about. The only exception is when the deletion that the
-  /// tree is informed about makes some (domominator) subtree unreachable -- in
+  /// tree is informed about makes some (dominator) subtree unreachable -- in
   /// this case, it is fine to perform deletions within this subtree.
   ///
   /// Note that for postdominators it automatically takes care of deleting
index 6fd182b15c046a0efb6a50f1b89ddd6df29bb9cd..ee3071417fae9ca7cb8901ccd184f1849990b03f 100644 (file)
@@ -705,7 +705,7 @@ struct SemiNCAInfo {
 
     TreeNodePtr MinNode = ToTN;
 
-    // Identify the top of the subtree to rebuilt by finding the NCD of all
+    // Identify the top of the subtree to rebuild by finding the NCD of all
     // the affected nodes.
     for (const NodePtr N : AffectedQueue) {
       const TreeNodePtr TN = DT.getNode(N);