From: Craig Topper Date: Tue, 25 Apr 2017 16:48:19 +0000 (+0000) Subject: [InstCombine] Remove superfluous curly braces around a single line if body. NFC X-Git-Tag: llvmorg-5.0.0-rc1~6726 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7603dce6b2f45aa359d002b7a6525e003cc5caff;p=platform%2Fupstream%2Fllvm.git [InstCombine] Remove superfluous curly braces around a single line if body. NFC llvm-svn: 301326 --- diff --git a/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp b/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp index 2f6e411..5222cd4 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp @@ -138,10 +138,9 @@ Value *InstCombiner::SimplifyDemandedUseBits(Value *V, APInt DemandedMask, // If there are multiple uses of this value and we aren't at the root, then // we can't do any simplifications of the operands, because DemandedMask // only reflects the bits demanded by *one* of the users. - if (Depth != 0 && !I->hasOneUse()) { + if (Depth != 0 && !I->hasOneUse()) return SimplifyMultipleUseDemandedBits(I, DemandedMask, KnownZero, KnownOne, Depth, CxtI); - } APInt LHSKnownZero(BitWidth, 0), LHSKnownOne(BitWidth, 0); APInt RHSKnownZero(BitWidth, 0), RHSKnownOne(BitWidth, 0);