summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
diff options
context:
space:
mode:
authorHiroshi Inoue <inouehrs@jp.ibm.com>2017-10-03 07:28:58 +0000
committerHiroshi Inoue <inouehrs@jp.ibm.com>2017-10-03 07:28:58 +0000
commit224661d94bd4239b9a4d92f34a74fe3a20af6d11 (patch)
tree3826414b9c31a7121a04029c0fb228984c581ca3 /llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
parent4fefcd6dade8f3421afbefa14a851b4760093554 (diff)
downloadbcm5719-llvm-224661d94bd4239b9a4d92f34a74fe3a20af6d11.tar.gz
bcm5719-llvm-224661d94bd4239b9a4d92f34a74fe3a20af6d11.zip
[trivial] fix format, NFC
llvm-svn: 314769
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCMIPeephole.cpp')
-rw-r--r--llvm/lib/Target/PowerPC/PPCMIPeephole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp b/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
index 20921f4019e..66c1bb1c05c 100644
--- a/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
+++ b/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
@@ -784,7 +784,7 @@ bool PPCMIPeephole::eliminateRedundantCompare(void) {
}
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(),
OpenPOWER on IntegriCloud