diff --git a/lib/Analysis/ConstantFolding.cpp b/lib/Analysis/ConstantFolding.cpp index 676a8466ac2..f3f9a5102f8 100644 --- a/lib/Analysis/ConstantFolding.cpp +++ b/lib/Analysis/ConstantFolding.cpp @@ -814,8 +814,7 @@ Constant *llvm::ConstantFoldInstOperands(unsigned Opcode, const Type *DestTy, Constant::getNullValue(CE->getType()), ConstantInt::get(ElTy->getContext(), ElemIdx) }; - return - ConstantExpr::getGetElementPtr(GV, &Index[0], 2); + return ConstantExpr::getGetElementPtr(GV, &Index[0], 2); } } }