mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 11:39:35 +00:00
Align breaks.
llvm-svn: 15371
This commit is contained in:
parent
00ff5a4e35
commit
cdcb1c62e5
@ -51,16 +51,16 @@ X86InstrInfo::reverseBranchCondition(MachineBasicBlock::iterator MI) const {
|
|||||||
unsigned ROpcode;
|
unsigned ROpcode;
|
||||||
switch (Opcode) {
|
switch (Opcode) {
|
||||||
case X86::JB: ROpcode = X86::JAE; break;
|
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::JE: ROpcode = X86::JNE; break;
|
||||||
case X86::JNE: ROpcode = X86::JE; break;
|
case X86::JNE: ROpcode = X86::JE; break;
|
||||||
case X86::JBE: ROpcode = X86::JA; break;
|
case X86::JBE: ROpcode = X86::JA; break;
|
||||||
case X86::JA: ROpcode = X86::JBE; break;
|
case X86::JA: ROpcode = X86::JBE; break;
|
||||||
case X86::JS: ROpcode = X86::JNS; 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::JL: ROpcode = X86::JGE; break;
|
||||||
case X86::JGE: ROpcode = X86::JL; break;
|
case X86::JGE: ROpcode = X86::JL; break;
|
||||||
case X86::JLE: ROpcode = X86::JG; break;
|
case X86::JLE: ROpcode = X86::JG; break;
|
||||||
case X86::JG: ROpcode = X86::JLE; break;
|
case X86::JG: ROpcode = X86::JLE; break;
|
||||||
default:
|
default:
|
||||||
assert(0 && "Cannot reverse unconditional branches!");
|
assert(0 && "Cannot reverse unconditional branches!");
|
||||||
|
Loading…
Reference in New Issue
Block a user