mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add space before an open parenthesis in control flow statements.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156620 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c579c8343
commit
4949e98ccc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user