Add CloogInfo debug output.

llvm-svn: 142745
This commit is contained in:
Tobias Grosser 2011-10-23 10:57:44 +00:00
parent 008442631b
commit cf1a26838c
1 changed files with 8 additions and 0 deletions

View File

@ -26,8 +26,10 @@
#include "polly/LinkAllPasses.h"
#include "polly/ScopInfo.h"
#define DEBUG_TYPE "polly-cloog"
#include "llvm/Assembly/Writer.h"
#include "llvm/Module.h"
#include "llvm/Support/Debug.h"
#include "cloog/isl/domain.h"
#include "cloog/isl/cloog.h"
@ -280,6 +282,12 @@ bool CloogInfo::runOnScop(Scop &S) {
C = new Cloog(&S);
Function *F = S.getRegion().getEntry()->getParent();
DEBUG(dbgs() << ":: " << F->getNameStr());
DEBUG(dbgs() << " : " << S.getRegion().getNameStr() << "\n");;
DEBUG(C->pprint(dbgs()));
return false;
}