fix typo in comment; NFC
authorSanjay Patel <spatel@rotateright.com>
Thu, 21 May 2015 21:29:13 +0000 (21:29 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 21 May 2015 21:29:13 +0000 (21:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237962 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineCombiner.cpp

index ba5dbde6194ba0c6695949f50db4ba84519d2c81..a4bc77edb753a63472b834a300f7601e9174ce6f 100644 (file)
@@ -366,7 +366,7 @@ bool MachineCombiner::combineInstructions(MachineBasicBlock *MBB) {
           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,