summaryrefslogtreecommitdiffstats
path: root/polly/lib/Analysis/PruneUnprofitable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/Analysis/PruneUnprofitable.cpp')
-rw-r--r--polly/lib/Analysis/PruneUnprofitable.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/polly/lib/Analysis/PruneUnprofitable.cpp b/polly/lib/Analysis/PruneUnprofitable.cpp
index 262cadd0bf1..da1ef529de0 100644
--- a/polly/lib/Analysis/PruneUnprofitable.cpp
+++ b/polly/lib/Analysis/PruneUnprofitable.cpp
@@ -73,16 +73,18 @@ public:
bool runOnScop(Scop &S) override {
if (PollyProcessUnprofitable) {
- DEBUG(dbgs() << "NOTE: -polly-process-unprofitable active, won't prune "
- "anything\n");
+ LLVM_DEBUG(
+ dbgs() << "NOTE: -polly-process-unprofitable active, won't prune "
+ "anything\n");
return false;
}
ScopsProcessed++;
if (!S.isProfitable(true)) {
- DEBUG(dbgs() << "SCoP pruned because it probably cannot be optimized in "
- "a significant way\n");
+ LLVM_DEBUG(
+ dbgs() << "SCoP pruned because it probably cannot be optimized in "
+ "a significant way\n");
S.invalidate(PROFITABLE, DebugLoc());
updateStatistics(S, true);
} else {
OpenPOWER on IntegriCloud