summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2010-01-05 01:26:39 +0000
committerDavid Greene <greened@obbligato.org>2010-01-05 01:26:39 +0000
commit83964b79449f2ca005aa1e451d9bb5ee0fd91bca (patch)
tree0318c28033eb828e701a3cd51e08fec53770e687
parent8b45eadfec0036219cdd3823b268209f2c8722a4 (diff)
downloadllvm-83964b79449f2ca005aa1e451d9bb5ee0fd91bca.tar.gz
llvm-83964b79449f2ca005aa1e451d9bb5ee0fd91bca.tar.bz2
llvm-83964b79449f2ca005aa1e451d9bb5ee0fd91bca.tar.xz
Change errs() to dbgs().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92599 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/Transforms/Utils/BasicInliner.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/Transforms/Utils/BasicInliner.cpp b/lib/Transforms/Utils/BasicInliner.cpp
index b5ffe06065..c580b8fed9 100644
--- a/lib/Transforms/Utils/BasicInliner.cpp
+++ b/lib/Transforms/Utils/BasicInliner.cpp
@@ -89,7 +89,7 @@ void BasicInlinerImpl::inlineFunctions() {
}
}
- DEBUG(errs() << ": " << CallSites.size() << " call sites.\n");
+ DEBUG(dbgs() << ": " << CallSites.size() << " call sites.\n");
// Inline call sites.
bool Changed = false;
@@ -109,21 +109,21 @@ void BasicInlinerImpl::inlineFunctions() {
}
InlineCost IC = CA.getInlineCost(CS, NeverInline);
if (IC.isAlways()) {
- DEBUG(errs() << " Inlining: cost=always"
+ DEBUG(dbgs() << " Inlining: cost=always"
<<", call: " << *CS.getInstruction());
} else if (IC.isNever()) {
- DEBUG(errs() << " NOT Inlining: cost=never"
+ DEBUG(dbgs() << " NOT Inlining: cost=never"
<<", call: " << *CS.getInstruction());
continue;
} else {
int Cost = IC.getValue();
if (Cost >= (int) BasicInlineThreshold) {
- DEBUG(errs() << " NOT Inlining: cost = " << Cost
+ DEBUG(dbgs() << " NOT Inlining: cost = " << Cost
<< ", call: " << *CS.getInstruction());
continue;
} else {
- DEBUG(errs() << " Inlining: cost = " << Cost
+ DEBUG(dbgs() << " Inlining: cost = " << Cost
<< ", call: " << *CS.getInstruction());
}
}