Make this pass use a more specific debug message than "Processing:".
[oota-llvm.git] / lib / Transforms / Scalar / Reassociate.cpp
index 99cd7f31658f35f57d22bd6651291a859360231d..705da7f1cba44a7614710e8eaee5cf2f5962df3b 100644 (file)
@@ -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...