diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 23:48:37 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2005-04-21 23:48:37 +0000 |
commit | fd93908ae8b9684fe71c239e3c6cfe13ff6a2663 (patch) | |
tree | 4d0726d997a629d08765d11a705a42c4f48690af /lib/Transforms/Scalar/Reassociate.cpp | |
parent | 0e0a7a45d3d0a8c865a078459d2e1c6d8967a100 (diff) |
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21427 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/Reassociate.cpp')
-rw-r--r-- | lib/Transforms/Scalar/Reassociate.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp index 1972b9d5c3..90fcd27550 100644 --- a/lib/Transforms/Scalar/Reassociate.cpp +++ b/lib/Transforms/Scalar/Reassociate.cpp @@ -1,10 +1,10 @@ //===- Reassociate.cpp - Reassociate binary expressions -------------------===// -// +// // The LLVM Compiler Infrastructure // // This file was developed by the LLVM research group and is distributed under // the University of Illinois Open Source License. See LICENSE.TXT for details. -// +// //===----------------------------------------------------------------------===// // // This pass reassociates commutative expressions in an order that is designed @@ -115,7 +115,7 @@ bool Reassociate::ReassociateExpr(BinaryOperator *I) { Value *RHS = I->getOperand(1); unsigned LHSRank = getRank(LHS); unsigned RHSRank = getRank(RHS); - + bool Changed = false; // Make sure the LHS of the operand always has the greater rank... @@ -130,7 +130,7 @@ bool Reassociate::ReassociateExpr(BinaryOperator *I) { DEBUG(std::cerr << "Transposed: " << *I /* << " Result BB: " << I->getParent()*/); } - + // If the LHS is the same operator as the current one is, and if we are the // only expression using it... // @@ -233,7 +233,7 @@ bool Reassociate::ReassociateBB(BasicBlock *BB) { BI = New; New->setOperand(1, NegateValue(New->getOperand(1), BI)); - + Changed = true; DEBUG(std::cerr << "Negated: " << *New /*<< " Result BB: " << BB*/); } |