[llvm] r314769 - [trivial] fix format, NFC

Hiroshi Inoue via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 3 00:28:58 PDT 2017


Author: inouehrs
Date: Tue Oct  3 00:28:58 2017
New Revision: 314769

URL: http://llvm.org/viewvc/llvm-project?rev=314769&view=rev
Log:
[trivial] fix format, NFC


Modified:
    llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp

Modified: llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp?rev=314769&r1=314768&r2=314769&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp Tue Oct  3 00:28:58 2017
@@ -784,7 +784,7 @@ bool PPCMIPeephole::eliminateRedundantCo
       }
       else continue;
     }
-    else if (CMPI1->getOperand(2).isImm() && CMPI2->getOperand(2).isImm()){
+    else if (CMPI1->getOperand(2).isImm() && CMPI2->getOperand(2).isImm()) {
       // In case of comparisons between a register and an immediate,
       // the operand register must be same for two compare instructions.
       unsigned Cmp1Operand1 = getSrcVReg(CMPI1->getOperand(1).getReg(),




More information about the llvm-commits mailing list