summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-04-16 13:21:15 +0000
committerSanjay Patel <spatel@rotateright.com>2018-04-16 13:21:15 +0000
commit77e990d88700c52ef5aa7d5e0cb5487928b26533 (patch)
tree1a0dc137d71544d36884ddc35a612fd87f7ca793 /llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
parent4c45e6ff0ee5a168ceebdfba66ddd3b92ff1841b (diff)
downloadbcm5719-llvm-77e990d88700c52ef5aa7d5e0cb5487928b26533.tar.gz
bcm5719-llvm-77e990d88700c52ef5aa7d5e0cb5487928b26533.zip
[InstCombine] fix formatting; NFC
llvm-svn: 330124
Diffstat (limited to 'llvm/lib/Transforms/InstCombine/InstructionCombining.cpp')
-rw-r--r--llvm/lib/Transforms/InstCombine/InstructionCombining.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
index 97135bd4028..167023c4ac9 100644
--- a/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+++ b/llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
@@ -639,16 +639,14 @@ Value *InstCombiner::SimplifyUsingDistributiveLaws(BinaryOperator &I) {
// 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;
}
OpenPOWER on IntegriCloud