ScheduleOptimizer: Dump the calculated schedule in debug mode

llvm-svn: 150951
This commit is contained in:
Tobias Grosser 2012-02-20 08:41:21 +00:00
parent 992e60ca57
commit 4d63b9d0f9
1 changed files with 3 additions and 0 deletions

View File

@ -516,6 +516,9 @@ bool IslScheduleOptimizer::runOnScop(Scop &S) {
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) {