[llvm] r330124 - [InstCombine] fix formatting; NFC

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 16 06:21:15 PDT 2018


Author: spatel
Date: Mon Apr 16 06:21:15 2018
New Revision: 330124

URL: http://llvm.org/viewvc/llvm-project?rev=330124&view=rev
Log:
[InstCombine] fix formatting; NFC

Modified:
    llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp

Modified: llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp?rev=330124&r1=330123&r2=330124&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp (original)
+++ llvm/trunk/lib/Transforms/InstCombine/InstructionCombining.cpp Mon Apr 16 06:21:15 2018
@@ -639,16 +639,14 @@ Value *InstCombiner::SimplifyUsingDistri
     // term.
     if (Op0)
       if (Value *Ident = getIdentityValue(LHSOpcode, RHS))
-        if (Value *V =
-                tryFactorization(I, LHSOpcode, A, B, RHS, Ident))
+        if (Value *V = tryFactorization(I, LHSOpcode, A, B, RHS, Ident))
           return V;
 
     // The instruction has the form "(B) op (C op' D)".  Try to factorize common
     // term.
     if (Op1)
       if (Value *Ident = getIdentityValue(RHSOpcode, LHS))
-        if (Value *V =
-                tryFactorization(I, RHSOpcode, LHS, Ident, C, D))
+        if (Value *V = tryFactorization(I, RHSOpcode, LHS, Ident, C, D))
           return V;
   }
 




More information about the llvm-commits mailing list