diff options
| author | Manman Ren <mren@apple.com> | 2012-05-11 15:36:46 +0000 |
|---|---|---|
| committer | Manman Ren <mren@apple.com> | 2012-05-11 15:36:46 +0000 |
| commit | 0d5ec28ccc32b5ee9fdf7702824f0ea863b9226b (patch) | |
| tree | c30ef2dddbd82d3bf2f1ed44dcd54bfbee94e1bb /llvm/lib/Target | |
| parent | 0e6705ec67366ac3b85f37bbac8a329306658c5a (diff) | |
| download | bcm5719-llvm-0d5ec28ccc32b5ee9fdf7702824f0ea863b9226b.tar.gz bcm5719-llvm-0d5ec28ccc32b5ee9fdf7702824f0ea863b9226b.zip | |
Add space before an open parenthesis in control flow statements.
llvm-svn: 156620
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp index d0ac23f3f87..d1b481a3b90 100644 --- a/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp +++ b/llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp @@ -1854,7 +1854,7 @@ OptimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg, int CmpMask, // Conservatively refuse to convert an instruction which isn't in the same // BB as the comparison. // For CMPri, we need to check Sub, thus we can't return here. - if(CmpInstr->getOpcode() == ARM::CMPri || + if (CmpInstr->getOpcode() == ARM::CMPri || CmpInstr->getOpcode() == ARM::t2CMPri) MI = NULL; else @@ -2023,7 +2023,7 @@ OptimizeCompareInstr(MachineInstr *CmpInstr, unsigned SrcReg, int CmpMask, for (unsigned i = 0; i < OperandsToUpdate.size(); i++) { ARMCC::CondCodes CC = (ARMCC::CondCodes)OperandsToUpdate[i]->getImm(); ARMCC::CondCodes NewCC; - switch(CC) { + switch (CC) { default: break; case ARMCC::GE: NewCC = ARMCC::LE; break; case ARMCC::LT: NewCC = ARMCC::GT; break; |

