Fix comment typos. NFC.
authorKazu Hirata <kazu@google.com>
Mon, 21 Sep 2020 23:12:55 +0000 (16:12 -0700)
committerKazu Hirata <kazu@google.com>
Mon, 21 Sep 2020 23:12:56 +0000 (16:12 -0700)
llvm/include/llvm/Analysis/BlockFrequencyInfoImpl.h
llvm/test/Analysis/BlockFrequencyInfo/irreducible.ll

index 868da7a..d70914b 100644 (file)
@@ -706,7 +706,7 @@ void IrreducibleGraph::addEdges(const BlockNode &Node,
 ///
 /// In addition to loops, this algorithm has limited support for irreducible
 /// SCCs, which are SCCs with multiple entry blocks.  Irreducible SCCs are
-/// discovered on they fly, and modelled as loops with multiple headers.
+/// discovered on the fly, and modelled as loops with multiple headers.
 ///
 /// The headers of irreducible sub-SCCs consist of its entry blocks and all
 /// nodes that are targets of a backedge within it (excluding backedges within
index 83b0056..410276c 100644 (file)
@@ -44,7 +44,7 @@ return:
 ;
 ; In addition to loops, -block-freq has limited support for irreducible SCCs,
 ; which are SCCs with multiple entry blocks.  Irreducible SCCs are discovered
-; on they fly, and modelled as loops with multiple headers.
+; on the fly, and modelled as loops with multiple headers.
 ;
 ; The headers of irreducible sub-SCCs consist of its entry blocks and all nodes
 ; that are targets of a backedge within it (excluding backedges within true