aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2004-07-31 10:05:44 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2004-07-31 10:05:44 +0000
commit31e155e610d6f506c64185bfa35c0b7ff729e025 (patch)
tree18c63321886a20e2459e3c25cf804a693464e06d /lib/Target/X86
parentf1fccfd6a85c32a6b8ce9e3cf457b33ddeeeaa21 (diff)
downloadexternal_llvm-31e155e610d6f506c64185bfa35c0b7ff729e025.zip
external_llvm-31e155e610d6f506c64185bfa35c0b7ff729e025.tar.gz
external_llvm-31e155e610d6f506c64185bfa35c0b7ff729e025.tar.bz2
Align breaks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86')
-rw-r--r--lib/Target/X86/X86InstrInfo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp
index f41d866..427df28 100644
--- a/lib/Target/X86/X86InstrInfo.cpp
+++ b/lib/Target/X86/X86InstrInfo.cpp
@@ -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!");