silence a warning
authorChris Lattner <sabre@nondot.org>
Sat, 28 Jan 2006 10:34:47 +0000 (10:34 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 28 Jan 2006 10:34:47 +0000 (10:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25745 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 236179f986b76e92113da72fd4bdf8179be8ec9d..a2a788733055f25cefeaa6b50b2663a5d9890261 100644 (file)
@@ -1293,6 +1293,7 @@ X86TargetLowering::InsertAtEndOfBasicBlock(MachineInstr *MI,
     // Get the X86 opcode to use.
     unsigned Opc;
     switch (MI->getOpcode()) {
+    default: assert(0 && "illegal opcode!");
     case X86::FP_TO_INT16_IN_MEM: Opc = X86::FpIST16m; break;
     case X86::FP_TO_INT32_IN_MEM: Opc = X86::FpIST32m; break;
     case X86::FP_TO_INT64_IN_MEM: Opc = X86::FpIST64m; break;