Skip to content

Commit ca7e6f6

Browse files
committed
[Dominators] Fix typos. NFC.
llvm-svn: 309170
1 parent b25bdc2 commit ca7e6f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/include/llvm/Support/GenericDomTree.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ class DominatorTreeBase {
484484
/// This function has to be called just after making the update
485485
/// on the actual CFG. There cannot be any other updates that the dominator
486486
/// tree doesn't know about. The only exception is when the deletion that the
487-
/// tree is informed about makes some (domominator) subtree unreachable -- in
487+
/// tree is informed about makes some (dominator) subtree unreachable -- in
488488
/// this case, it is fine to perform deletions within this subtree.
489489
///
490490
/// Note that for postdominators it automatically takes care of deleting

llvm/include/llvm/Support/GenericDomTreeConstruction.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ struct SemiNCAInfo {
705705

706706
TreeNodePtr MinNode = ToTN;
707707

708-
// Identify the top of the subtree to rebuilt by finding the NCD of all
708+
// Identify the top of the subtree to rebuild by finding the NCD of all
709709
// the affected nodes.
710710
for (const NodePtr N : AffectedQueue) {
711711
const TreeNodePtr TN = DT.getNode(N);

0 commit comments

Comments
 (0)