summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineCombiner.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2015-05-21 21:29:13 +0000
committerSanjay Patel <spatel@rotateright.com>2015-05-21 21:29:13 +0000
commitf91148405117346077777d46f285eae1806c6b74 (patch)
tree538193b34820b669c45c12fa165461485c380bdd /llvm/lib/CodeGen/MachineCombiner.cpp
parentc780e8ebcc50930088d57cbba788fb0d307ab170 (diff)
downloadbcm5719-llvm-f91148405117346077777d46f285eae1806c6b74.tar.gz
bcm5719-llvm-f91148405117346077777d46f285eae1806c6b74.zip
fix typo in comment; NFC
llvm-svn: 237962
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineCombiner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineCombiner.cpp b/llvm/lib/CodeGen/MachineCombiner.cpp
index ba5dbde6194..a4bc77edb75 100644
--- a/llvm/lib/CodeGen/MachineCombiner.cpp
+++ b/llvm/lib/CodeGen/MachineCombiner.cpp
@@ -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,
OpenPOWER on IntegriCloud