[llvm] r239478 - fix typo in comment; NFC

Sanjay Patel spatel at rotateright.com
Wed Jun 10 10:08:13 PDT 2015


Author: spatel
Date: Wed Jun 10 12:08:12 2015
New Revision: 239478

URL: http://llvm.org/viewvc/llvm-project?rev=239478&view=rev
Log:
fix typo in comment; NFC

Modified:
    llvm/trunk/lib/CodeGen/MachineCombiner.cpp

Modified: llvm/trunk/lib/CodeGen/MachineCombiner.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineCombiner.cpp?rev=239478&r1=239477&r2=239478&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineCombiner.cpp Wed Jun 10 12:08:12 2015
@@ -245,7 +245,7 @@ bool MachineCombiner::preservesCriticalP
         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));
 }





More information about the llvm-commits mailing list