From f74e20351f969b9a12b30a569808b7a14cf37773 Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Mon, 5 Mar 2018 16:08:34 +0000 Subject: [PATCH] [CVP] fix formatting; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326711 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/CorrelatedValuePropagation.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp b/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp index 535d43cdf9e..db24fe05e86 100644 --- a/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp +++ b/lib/Transforms/Scalar/CorrelatedValuePropagation.cpp @@ -433,8 +433,7 @@ static bool hasPositiveOperands(BinaryOperator *SDI, LazyValueInfo *LVI) { } static bool processSRem(BinaryOperator *SDI, LazyValueInfo *LVI) { - if (SDI->getType()->isVectorTy() || - !hasPositiveOperands(SDI, LVI)) + if (SDI->getType()->isVectorTy() || !hasPositiveOperands(SDI, LVI)) return false; ++NumSRems; @@ -451,8 +450,7 @@ static bool processSRem(BinaryOperator *SDI, LazyValueInfo *LVI) { /// conditions, this can sometimes prove conditions instcombine can't by /// exploiting range information. static bool processSDiv(BinaryOperator *SDI, LazyValueInfo *LVI) { - if (SDI->getType()->isVectorTy() || - !hasPositiveOperands(SDI, LVI)) + if (SDI->getType()->isVectorTy() || !hasPositiveOperands(SDI, LVI)) return false; ++NumSDivs; -- 2.11.0