diff --git a/llvm/lib/CodeGen/MachinePipeliner.cpp b/llvm/lib/CodeGen/MachinePipeliner.cpp index 2ff274bb09d4..0bffa9154fc4 100644 --- a/llvm/lib/CodeGen/MachinePipeliner.cpp +++ b/llvm/lib/CodeGen/MachinePipeliner.cpp @@ -1718,7 +1718,7 @@ void SwingSchedulerDAG::checkNodeSets(NodeSetType &NodeSets) { } /// Add the nodes that do not belong to a recurrence set into groups -/// based upon connected componenets. +/// based upon connected components. void SwingSchedulerDAG::groupRemainingNodes(NodeSetType &NodeSets) { SetVector NodesAdded; SmallPtrSet Visited;