ScheduleOptimizer: Dump the calculated schedule in debug mode
llvm-svn: 150951
diff --git a/polly/lib/ScheduleOptimizer.cpp b/polly/lib/ScheduleOptimizer.cpp
index 43d0d21..26812ed 100644
--- a/polly/lib/ScheduleOptimizer.cpp
+++ b/polly/lib/ScheduleOptimizer.cpp
@@ -516,6 +516,9 @@
if (!Schedule)
return false;
+ DEBUG(dbgs() << "Schedule := "; isl_schedule_dump(Schedule);
+ dbgs() << ";\n");
+
isl_union_map *ScheduleMap = getScheduleMap(Schedule);
for (Scop::iterator SI = S.begin(), SE = S.end(); SI != SE; ++SI) {