[llvm-commits] CVS: llvm/lib/Transforms/Scalar/Reassociate.cpp

Brian Gaeke gaeke at cs.uiuc.edu
Thu Jul 1 14:28:02 PDT 2004


Changes in directory llvm/lib/Transforms/Scalar:

Reassociate.cpp updated: 1.30 -> 1.31

---
Log message:

Make this pass use a more specific debug message than "Processing:".


---
Diffs of the changes:  (+1 -1)

Index: llvm/lib/Transforms/Scalar/Reassociate.cpp
diff -u llvm/lib/Transforms/Scalar/Reassociate.cpp:1.30 llvm/lib/Transforms/Scalar/Reassociate.cpp:1.31
--- llvm/lib/Transforms/Scalar/Reassociate.cpp:1.30	Fri Jan  9 00:02:20 2004
+++ llvm/lib/Transforms/Scalar/Reassociate.cpp	Thu Jul  1 14:27:10 2004
@@ -211,7 +211,7 @@
   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...





More information about the llvm-commits mailing list