replace printBasicBlockLabel with EmitBasicBlockStart,
[oota-llvm.git] / lib / Target / X86 / X86ISelLowering.cpp
index 34e53f02ef31ce3efaec93e83b67a5141673598f..b80690dc2cea9d4225ebf8486efd97b3914af444 100644 (file)
@@ -5198,11 +5198,8 @@ SDValue X86TargetLowering::LowerFNEG(SDValue Op, SelectionDAG &DAG) {
   DebugLoc dl = Op.getDebugLoc();
   EVT VT = Op.getValueType();
   EVT EltVT = VT;
-  unsigned EltNum = 1;
-  if (VT.isVector()) {
+  if (VT.isVector())
     EltVT = VT.getVectorElementType();
-    EltNum = VT.getVectorNumElements();
-  }
   std::vector<Constant*> CV;
   if (EltVT == MVT::f64) {
     Constant *C = ConstantFP::get(*Context, APFloat(APInt(64, 1ULL << 63)));