aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms/Scalar/IndVarSimplify.cpp
diff options
context:
space:
mode:
authorAnand Shukla <ashukla@cs.uiuc.edu>2002-06-25 21:07:58 +0000
committerAnand Shukla <ashukla@cs.uiuc.edu>2002-06-25 21:07:58 +0000
commit5ba99bd124dc18302f527d6e2b0efd0fa866bc9e (patch)
treebfb70cbcb3114ff4c8783c4632ac1232964006ff /lib/Transforms/Scalar/IndVarSimplify.cpp
parentcfb22d3c14b53bc73ec90f7d471c2d2d2453cf03 (diff)
downloadexternal_llvm-5ba99bd124dc18302f527d6e2b0efd0fa866bc9e.zip
external_llvm-5ba99bd124dc18302f527d6e2b0efd0fa866bc9e.tar.gz
external_llvm-5ba99bd124dc18302f527d6e2b0efd0fa866bc9e.tar.bz2
changes to make it compatible with 64bit gcc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2792 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/IndVarSimplify.cpp')
-rw-r--r--lib/Transforms/Scalar/IndVarSimplify.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/IndVarSimplify.cpp b/lib/Transforms/Scalar/IndVarSimplify.cpp
index 7a32315..4913a89 100644
--- a/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -16,6 +16,7 @@
#include "llvm/Support/CFG.h"
#include "Support/STLExtras.h"
#include "Support/StatisticReporter.h"
+#include <iostream>
static Statistic<> NumRemoved ("indvars\t\t- Number of aux indvars removed");
static Statistic<> NumInserted("indvars\t\t- Number of cannonical indvars added");
@@ -114,7 +115,7 @@ static bool TransformLoop(LoopInfo *Loops, Loop *Loop) {
Changed = true;
}
- DEBUG(cerr << "Induction variables:\n");
+ DEBUG(std::cerr << "Induction variables:\n");
// Get the current loop iteration count, which is always the value of the
// cannonical phi node...
@@ -127,7 +128,7 @@ static bool TransformLoop(LoopInfo *Loops, Loop *Loop) {
for (unsigned i = 0; i < IndVars.size(); ++i) {
InductionVariable *IV = &IndVars[i];
- DEBUG(cerr << IV);
+ DEBUG(std::cerr << IV);
// Don't modify the cannonical indvar or unrecognized indvars...
if (IV != Cannonical && IV->InductionType != InductionVariable::Unknown) {