Fix a warning


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15409 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86InstrInfo.cpp b/lib/Target/X86/X86InstrInfo.cpp
index 427df28..42b0ec9 100644
--- a/lib/Target/X86/X86InstrInfo.cpp
+++ b/lib/Target/X86/X86InstrInfo.cpp
@@ -50,6 +50,7 @@
   assert(isBranch(Opcode) && "MachineInstr must be a branch");
   unsigned ROpcode;
   switch (Opcode) {
+  default: assert(0 && "Cannot reverse unconditional branches!");
   case X86::JB:  ROpcode = X86::JAE; break;
   case X86::JAE: ROpcode = X86::JB;  break;
   case X86::JE:  ROpcode = X86::JNE; break;
@@ -62,8 +63,6 @@
   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!");
   }
   MachineBasicBlock* MBB = MI->getParent();
   MachineBasicBlock* TMBB = MI->getOperand(0).getMachineBasicBlock();