]> granicus.if.org Git - llvm/commitdiff
[InstCombine] Remove superfluous curly braces around a single line if body. NFC
authorCraig Topper <craig.topper@gmail.com>
Tue, 25 Apr 2017 16:48:19 +0000 (16:48 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 25 Apr 2017 16:48:19 +0000 (16:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301326 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp

index 2f6e411345f6283e68fd651794cc1d955984e86d..5222cd498f369d1d4e899528e58aa8ebde38dfb5 100644 (file)
@@ -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);