summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Kuderski <kubakuderski@gmail.com>2017-07-26 20:26:13 +0000
committerJakub Kuderski <kubakuderski@gmail.com>2017-07-26 20:26:13 +0000
commitca7e6f6ea843800c03965950b66ef1da4c1aee7f (patch)
treea15cce774e69123eef362ef3c570bf9e373e3f24
parentb25bdc27b9ed48b5beebd4e8402ead90872d58e3 (diff)
downloadbcm5719-llvm-ca7e6f6ea843800c03965950b66ef1da4c1aee7f.tar.gz
bcm5719-llvm-ca7e6f6ea843800c03965950b66ef1da4c1aee7f.zip
[Dominators] Fix typos. NFC.
llvm-svn: 309170
-rw-r--r--llvm/include/llvm/Support/GenericDomTree.h2
-rw-r--r--llvm/include/llvm/Support/GenericDomTreeConstruction.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/GenericDomTree.h b/llvm/include/llvm/Support/GenericDomTree.h
index ae16354b316..8e5e4123002 100644
--- a/llvm/include/llvm/Support/GenericDomTree.h
+++ b/llvm/include/llvm/Support/GenericDomTree.h
@@ -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
diff --git a/llvm/include/llvm/Support/GenericDomTreeConstruction.h b/llvm/include/llvm/Support/GenericDomTreeConstruction.h
index 6fd182b15c0..ee3071417fa 100644
--- a/llvm/include/llvm/Support/GenericDomTreeConstruction.h
+++ b/llvm/include/llvm/Support/GenericDomTreeConstruction.h
@@ -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);
OpenPOWER on IntegriCloud