[llvm-commits] [llvm] r81128 -	/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
    Duncan Sands 
    baldrick at free.fr
       
    Sun Sep  6 12:29:07 PDT 2009
    
    
  
Author: baldrick
Date: Sun Sep  6 14:29:07 2009
New Revision: 81128
URL: http://llvm.org/viewvc/llvm-project?rev=81128&view=rev
Log:
Remove a left over bit of code with no effect.
Modified:
    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=81128&r1=81127&r2=81128&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Sun Sep  6 14:29:07 2009
@@ -5198,10 +5198,8 @@
   DebugLoc dl = Op.getDebugLoc();
   EVT VT = Op.getValueType();
   EVT EltVT = VT;
-  if (VT.isVector()) {
+  if (VT.isVector())
     EltVT = VT.getVectorElementType();
-    VT.getVectorNumElements();
-  }
   std::vector<Constant*> CV;
   if (EltVT == MVT::f64) {
     Constant *C = ConstantFP::get(*Context, APFloat(APInt(64, 1ULL << 63)));
    
    
More information about the llvm-commits
mailing list