diff options
-rw-r--r-- | lib/Target/X86/X86ISelDAGToDAG.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Target/X86/X86ISelDAGToDAG.cpp b/lib/Target/X86/X86ISelDAGToDAG.cpp index 20534beb75..e82e3a7b27 100644 --- a/lib/Target/X86/X86ISelDAGToDAG.cpp +++ b/lib/Target/X86/X86ISelDAGToDAG.cpp @@ -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; } |