From: Duncan Sands Date: Sun, 6 Sep 2009 19:29:07 +0000 (+0000) Subject: Remove a left over bit of code with no effect. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=da9ad384aff792cec928882838653b2e4fe4df12;p=oota-llvm.git Remove a left over bit of code with no effect. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81128 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index d2517a2e28e..b80690dc2ce 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -5198,10 +5198,8 @@ SDValue X86TargetLowering::LowerFNEG(SDValue Op, SelectionDAG &DAG) { DebugLoc dl = Op.getDebugLoc(); EVT VT = Op.getValueType(); EVT EltVT = VT; - if (VT.isVector()) { + if (VT.isVector()) EltVT = VT.getVectorElementType(); - VT.getVectorNumElements(); - } std::vector CV; if (EltVT == MVT::f64) { Constant *C = ConstantFP::get(*Context, APFloat(APInt(64, 1ULL << 63)));