aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/Reassociate.cpp
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-07-01 19:27:10 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-07-01 19:27:10 +0000
commita9160a064fcbe7e389d4d8a502b45fe5e63019d9 (patch)
tree9dc5654d31bceb41bda60121b7563a7e53ad4903 /lib/Transforms/Scalar/Reassociate.cpp
parentd2df776541246cc536d5bfa4dc9456b8b9a09183 (diff)
Make this pass use a more specific debug message than "Processing:".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14541 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/Reassociate.cpp')
-rw-r--r--lib/Transforms/Scalar/Reassociate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/Reassociate.cpp b/lib/Transforms/Scalar/Reassociate.cpp
index 99cd7f3165..705da7f1cb 100644
--- a/lib/Transforms/Scalar/Reassociate.cpp
+++ b/lib/Transforms/Scalar/Reassociate.cpp
@@ -211,7 +211,7 @@ bool Reassociate::ReassociateBB(BasicBlock *BB) {
bool Changed = false;
for (BasicBlock::iterator BI = BB->begin(); BI != BB->end(); ++BI) {
- DEBUG(std::cerr << "Processing: " << *BI);
+ DEBUG(std::cerr << "Reassociating: " << *BI);
if (BI->getOpcode() == Instruction::Sub && !BinaryOperator::isNeg(BI)) {
// Convert a subtract into an add and a neg instruction... so that sub
// instructions can be commuted with other add instructions...