[llvm-commits] CVS: llvm/lib/Target/X86/X86InstrInfo.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Sat Jul 31 03:05:55 PDT 2004
Changes in directory llvm/lib/Target/X86:
X86InstrInfo.cpp updated: 1.30 -> 1.31
---
Log message:
Align breaks.
---
Diffs of the changes: (+6 -6)
Index: llvm/lib/Target/X86/X86InstrInfo.cpp
diff -u llvm/lib/Target/X86/X86InstrInfo.cpp:1.30 llvm/lib/Target/X86/X86InstrInfo.cpp:1.31
--- llvm/lib/Target/X86/X86InstrInfo.cpp:1.30 Sat Jul 31 04:53:31 2004
+++ llvm/lib/Target/X86/X86InstrInfo.cpp Sat Jul 31 05:05:44 2004
@@ -51,16 +51,16 @@
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!");
More information about the llvm-commits
mailing list