fix typo; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 1 Dec 2015 19:19:18 +0000 (19:19 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 1 Dec 2015 19:19:18 +0000 (19:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254442 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/TwoAddressInstructionPass.cpp

index c96c813b0c9b7a70225aaa837ca38c0916308282..c407d594adddf1bd9ff9bf2bb2896daef92fb95c 100644 (file)
@@ -1181,7 +1181,7 @@ bool TwoAddressInstructionPass::tryInstructionCommute(MachineInstr *MI,
   unsigned OtherOpIdx = MI->getDesc().getNumDefs();
   for (; OtherOpIdx < OpsNum; OtherOpIdx++) {
     // The call of findCommutedOpIndices below only checks if BaseOpIdx
-    // and OtherOpIdx are commutable, it does not really searches for
+    // and OtherOpIdx are commutable, it does not really search for
     // other commutable operands and does not change the values of passed
     // variables.
     if (OtherOpIdx == BaseOpIdx ||