silence a warning
authorChris Lattner <sabre@nondot.org>
Sat, 14 Jan 2006 20:11:13 +0000 (20:11 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 14 Jan 2006 20:11:13 +0000 (20:11 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25322 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelDAGToDAG.cpp

index 68299a4e7ed280ff8cff1b1f95a2f3cf084c7dba..7789a1b8b2b7d0c8010ccb684e5ceb57796fa210 100644 (file)
@@ -682,6 +682,7 @@ SDOperand X86DAGToDAGISel::Select(SDOperand N) {
                                     Base, Scale, Index, Disp, OldCW, Chain);
 
       switch (Opcode) {
+      default: assert(0 && "Unknown FP_TO_INT*_IN_MEM");
       case X86ISD::FP_TO_INT16_IN_MEM: Opc = X86::FpIST16m; break;
       case X86ISD::FP_TO_INT32_IN_MEM: Opc = X86::FpIST32m; break;
       case X86ISD::FP_TO_INT64_IN_MEM: Opc = X86::FpIST64m; break;