summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/IslAst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/CodeGen/IslAst.cpp')
-rw-r--r--polly/lib/CodeGen/IslAst.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/polly/lib/CodeGen/IslAst.cpp b/polly/lib/CodeGen/IslAst.cpp
index 7e8739de8a2..c0ad889bd26 100644
--- a/polly/lib/CodeGen/IslAst.cpp
+++ b/polly/lib/CodeGen/IslAst.cpp
@@ -767,7 +767,7 @@ void IslAstInfo::print(raw_ostream &OS) {
auto *Schedule = S.getScheduleTree().release();
- DEBUG({
+ LLVM_DEBUG({
dbgs() << S.getContextStr() << "\n";
dbgs() << stringFromIslObj(Schedule);
});
@@ -807,14 +807,15 @@ bool IslAstInfoWrapperPass::runOnScop(Scop &Scop) {
getAnalysis<DependenceInfo>().getDependences(Dependences::AL_Statement);
if (D.getSharedIslCtx() != Scop.getSharedIslCtx()) {
- DEBUG(dbgs() << "Got dependence analysis for different SCoP/isl_ctx\n");
+ LLVM_DEBUG(
+ dbgs() << "Got dependence analysis for different SCoP/isl_ctx\n");
Ast.reset();
return false;
}
Ast.reset(new IslAstInfo(Scop, D));
- DEBUG(printScop(dbgs(), Scop));
+ LLVM_DEBUG(printScop(dbgs(), Scop));
return false;
}
OpenPOWER on IntegriCloud