Remove dead code
authorEvan Cheng <evan.cheng@apple.com>
Fri, 12 May 2006 19:03:56 +0000 (19:03 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 12 May 2006 19:03:56 +0000 (19:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28261 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelDAGToDAG.cpp

index 20534beb7514c8cf903f84d48f43499381ff845c..e82e3a7b27219fbefa74ac28ac596a0cd4ee6864 100644 (file)
@@ -806,10 +806,7 @@ void X86DAGToDAGISel::Select(SDOperand &Result, SDOperand N) {
         case MVT::i32:
           Opc = X86::MOV32to32_;
           VT = MVT::i32;
-          if (NVT == MVT::i16)
-            Opc2 = X86::TRUNC_R32_R16;
-          else
-            Opc2 = X86::TRUNC_R32_R8;
+          Opc2 = X86::TRUNC_R32_R8;
           break;
         }