mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Align breaks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15371 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f1fccfd6a8
commit
31e155e610
@ -51,16 +51,16 @@ X86InstrInfo::reverseBranchCondition(MachineBasicBlock::iterator MI) const {
|
||||
unsigned ROpcode;
|
||||
switch (Opcode) {
|
||||
case X86::JB: ROpcode = X86::JAE; break;
|
||||
case X86::JAE: ROpcode = X86::JB; break;
|
||||
case X86::JAE: ROpcode = X86::JB; break;
|
||||
case X86::JE: ROpcode = X86::JNE; break;
|
||||
case X86::JNE: ROpcode = X86::JE; break;
|
||||
case X86::JBE: ROpcode = X86::JA; break;
|
||||
case X86::JNE: ROpcode = X86::JE; break;
|
||||
case X86::JBE: ROpcode = X86::JA; break;
|
||||
case X86::JA: ROpcode = X86::JBE; break;
|
||||
case X86::JS: ROpcode = X86::JNS; break;
|
||||
case X86::JNS: ROpcode = X86::JS; break;
|
||||
case X86::JNS: ROpcode = X86::JS; break;
|
||||
case X86::JL: ROpcode = X86::JGE; break;
|
||||
case X86::JGE: ROpcode = X86::JL; break;
|
||||
case X86::JLE: ROpcode = X86::JG; break;
|
||||
case X86::JGE: ROpcode = X86::JL; break;
|
||||
case X86::JLE: ROpcode = X86::JG; break;
|
||||
case X86::JG: ROpcode = X86::JLE; break;
|
||||
default:
|
||||
assert(0 && "Cannot reverse unconditional branches!");
|
||||
|
Loading…
x
Reference in New Issue
Block a user