]> granicus.if.org Git - llvm/commitdiff
Fix typos. NFC
authorXin Tong <trent.xin.tong@gmail.com>
Mon, 16 Jan 2017 03:41:09 +0000 (03:41 +0000)
committerXin Tong <trent.xin.tong@gmail.com>
Mon, 16 Jan 2017 03:41:09 +0000 (03:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292092 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Analysis/LoopInfo.h

index 1156c98d8c718101e0dff026d3a7447aa72b5732..678ad1c4cf51aa315b059e58ba1c5e2a4f63535c 100644 (file)
@@ -26,7 +26,7 @@
 //  * etc...
 //
 // Note that this analysis specifically identifies *Loops* not cycles or SCCs
-// in the CFG.  There can be strongly connected compontents in the CFG which
+// in the CFG.  There can be strongly connected components in the CFG which
 // this analysis will not recognize and that will not be represented by a Loop
 // instance.  In particular, a Loop might be inside such a non-loop SCC, or a
 // non-loop SCC might contain a sub-SCC which is a Loop. 
@@ -364,7 +364,7 @@ extern template class LoopBase<BasicBlock, Loop>;
 
 
 /// Represents a single loop in the control flow graph.  Note that not all SCCs
-/// in the CFG are neccessarily loops.
+/// in the CFG are necessarily loops.
 class Loop : public LoopBase<BasicBlock, Loop> {
 public:
   /// \brief A range representing the start and end location of a loop.