diff options
author | Duncan Sands <baldrick@free.fr> | 2009-09-06 19:29:07 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2009-09-06 19:29:07 +0000 |
commit | da9ad384aff792cec928882838653b2e4fe4df12 (patch) | |
tree | 9b96e1d5a51d69eccbde7983922aae917852ea34 | |
parent | 0268790ba42e7dc0a61423343435e013b93e6c83 (diff) |
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
-rw-r--r-- | lib/Target/X86/X86ISelLowering.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index d2517a2e28..b80690dc2c 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<Constant*> CV; if (EltVT == MVT::f64) { Constant *C = ConstantFP::get(*Context, APFloat(APInt(64, 1ULL << 63))); |