From da9ad384aff792cec928882838653b2e4fe4df12 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Sun, 6 Sep 2009 19:29:07 +0000 Subject: [PATCH] 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 --- lib/Target/X86/X86ISelLowering.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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)));