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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239478 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineCombiner.cpp

index a4bc77edb753a63472b834a300f7601e9174ce6f..43ce0fbc5974d42a9f7e65975caa4af204457553 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));
 }