fix typo in comment; NFC
authorSanjay Patel <spatel@rotateright.com>
Wed, 10 Jun 2015 17:08:12 +0000 (17:08 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 10 Jun 2015 17:08:12 +0000 (17:08 +0000)
llvm-svn: 239478

llvm/lib/CodeGen/MachineCombiner.cpp

index a4bc77e..43ce0fb 100644 (file)
@@ -245,7 +245,7 @@ bool MachineCombiner::preservesCriticalPathLen(
         dbgs() << " RootDepth + RootLatency + RootSlack "
                << RootDepth + RootLatency + RootSlack << "\n";);
 
-  /// True when the new sequence does not lenghten the critical path.
+  /// True when the new sequence does not lengthen the critical path.
   return ((NewRootDepth + NewRootLatency) <=
           (RootDepth + RootLatency + RootSlack));
 }