[llvm-commits] CVS: llvm/lib/Analysis/ScalarEvolution.cpp

Chris Lattner lattner at cs.uiuc.edu
Fri Apr 2 14:47:17 PST 2004


Changes in directory llvm/lib/Analysis:

ScalarEvolution.cpp updated: 1.1 -> 1.2

---
Log message:

Comment out debugging printouts


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

Index: llvm/lib/Analysis/ScalarEvolution.cpp
diff -u llvm/lib/Analysis/ScalarEvolution.cpp:1.1 llvm/lib/Analysis/ScalarEvolution.cpp:1.2
--- llvm/lib/Analysis/ScalarEvolution.cpp:1.1	Fri Apr  2 14:23:17 2004
+++ llvm/lib/Analysis/ScalarEvolution.cpp	Fri Apr  2 14:26:46 2004
@@ -1493,7 +1493,7 @@
   SCEVHandle IH = SCEVUnknown::get(I);   // Get I as a "symbolic" SCEV.
 
   SCEVHandle V = evaluateAtIteration(IH);
-  std::cerr << "Evaluated: " << *this << "\n     to: " << *V << "\n";
+  //std::cerr << "Evaluated: " << *this << "\n     to: " << *V << "\n";
 
   return SER.ExpandCodeFor(V, InsertPt, Ty);
 }
@@ -1916,11 +1916,13 @@
       return HowFarToNonZero(getMinusSCEV(LHS, RHS), L);
     break;
   default:
+#if 0
     std::cerr << "ComputeIterationCount ";
     if (ExitCond->getOperand(0)->getType()->isUnsigned())
       std::cerr << "[unsigned] ";
     std::cerr << *LHS << "   "
               << Instruction::getOpcodeName(Cond) << "   " << *RHS << "\n";
+#endif
   }
   return UnknownValue;
 }
@@ -2118,8 +2120,10 @@
     SCEVConstant *R1 = dyn_cast<SCEVConstant>(Roots.first);
     SCEVConstant *R2 = dyn_cast<SCEVConstant>(Roots.second);
     if (R1) {
+#if 0
       std::cerr << "HFTZ: " << *V << " - sol#1: " << *R1
                 << "  sol#2: " << *R2 << "\n";
+#endif
       // Pick the smallest positive root value.
       assert(R1->getType()->isUnsigned()&&"Didn't canonicalize to unsigned?");
       if (ConstantBool *CB =





More information about the llvm-commits mailing list