[llvm] r237962 - fix typo in comment; NFC

Sanjay Patel spatel at rotateright.com
Thu May 21 14:29:13 PDT 2015


Author: spatel
Date: Thu May 21 16:29:13 2015
New Revision: 237962

URL: http://llvm.org/viewvc/llvm-project?rev=237962&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=237962&r1=237961&r2=237962&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/MachineCombiner.cpp (original)
+++ llvm/trunk/lib/CodeGen/MachineCombiner.cpp Thu May 21 16:29:13 2015
@@ -366,7 +366,7 @@ bool MachineCombiner::combineInstruction
           continue;
         // Substitute when we optimize for codesize and the new sequence has
         // fewer instructions OR
-        // the new sequence neither lenghten the critical path nor increases
+        // the new sequence neither lengthens the critical path nor increases
         // resource pressure.
         if (doSubstitute(InsInstrs.size(), DelInstrs.size()) ||
             (preservesCriticalPathLen(MBB, &MI, BlockTrace, InsInstrs,





More information about the llvm-commits mailing list