[llvm] r309170 - [Dominators] Fix typos. NFC.

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 26 13:26:13 PDT 2017


Author: kuhar
Date: Wed Jul 26 13:26:13 2017
New Revision: 309170

URL: http://llvm.org/viewvc/llvm-project?rev=309170&view=rev
Log:
[Dominators] Fix typos. NFC.

Modified:
    llvm/trunk/include/llvm/Support/GenericDomTree.h
    llvm/trunk/include/llvm/Support/GenericDomTreeConstruction.h

Modified: llvm/trunk/include/llvm/Support/GenericDomTree.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/GenericDomTree.h?rev=309170&r1=309169&r2=309170&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/GenericDomTree.h (original)
+++ llvm/trunk/include/llvm/Support/GenericDomTree.h Wed Jul 26 13:26:13 2017
@@ -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

Modified: llvm/trunk/include/llvm/Support/GenericDomTreeConstruction.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/GenericDomTreeConstruction.h?rev=309170&r1=309169&r2=309170&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/GenericDomTreeConstruction.h (original)
+++ llvm/trunk/include/llvm/Support/GenericDomTreeConstruction.h Wed Jul 26 13:26:13 2017
@@ -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);




More information about the llvm-commits mailing list