[llvm] r291404 - [LCSSA] Fix some typos. NFCI.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Sun Jan 8 14:22:09 PST 2017


Author: davide
Date: Sun Jan  8 16:22:09 2017
New Revision: 291404

URL: http://llvm.org/viewvc/llvm-project?rev=291404&view=rev
Log:
[LCSSA] Fix some typos. NFCI.

Modified:
    llvm/trunk/lib/Analysis/LoopInfo.cpp

Modified: llvm/trunk/lib/Analysis/LoopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LoopInfo.cpp?rev=291404&r1=291403&r2=291404&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LoopInfo.cpp (original)
+++ llvm/trunk/lib/Analysis/LoopInfo.cpp Sun Jan  8 16:22:09 2017
@@ -179,9 +179,9 @@ bool Loop::isLCSSAForm(DominatorTree &DT
 }
 
 bool Loop::isRecursivelyLCSSAForm(DominatorTree &DT, const LoopInfo &LI) const {
-  // For each block we check that it doesn't have any uses outside of it's
-  // innermost loop. This process will transitivelly guarntee that current loop 
-  // and all of the nested loops are in the LCSSA form.
+  // For each block we check that it doesn't have any uses outside of its
+  // innermost loop. This process will transitively guarantee that the current
+  // loop and all of the nested loops are in LCSSA form.
   return all_of(this->blocks(), [&](const BasicBlock *BB) {
     return isBlockInLCSSAForm(*LI.getLoopFor(BB), *BB, DT);
   });




More information about the llvm-commits mailing list