[llvm-commits] CVS: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp

Evan Cheng evan.cheng at apple.com
Fri May 12 12:04:09 PDT 2006



Changes in directory llvm/lib/Target/X86:

X86ISelDAGToDAG.cpp updated: 1.59 -> 1.60
---
Log message:

Remove dead code

---
Diffs of the changes:  (+1 -4)

 X86ISelDAGToDAG.cpp |    5 +----
 1 files changed, 1 insertion(+), 4 deletions(-)


Index: llvm/lib/Target/X86/X86ISelDAGToDAG.cpp
diff -u llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.59 llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.60
--- llvm/lib/Target/X86/X86ISelDAGToDAG.cpp:1.59	Mon May  8 03:01:26 2006
+++ llvm/lib/Target/X86/X86ISelDAGToDAG.cpp	Fri May 12 14:03:56 2006
@@ -806,10 +806,7 @@
         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;
         }
 






More information about the llvm-commits mailing list