[Polly] [PPCGCodeGeneration] Print current Scop and loop depth in PPCGCodeGen. [NFC]

Differential Revision: https://reviews.llvm.org/D36871

llvm-svn: 311158
This commit is contained in:
Siddharth Bhat 2017-08-18 13:16:58 +00:00
parent 861a387fac
commit 656e629572
1 changed files with 3 additions and 0 deletions

View File

@ -3434,6 +3434,9 @@ public:
DL = &S->getRegion().getEntry()->getModule()->getDataLayout();
RI = &getAnalysis<RegionInfoPass>().getRegionInfo();
DEBUG(dbgs() << "PPCGCodeGen running on : " << getUniqueScopName(S)
<< " | loop depth: " << S->getMaxLoopDepth() << "\n");
// We currently do not support functions other than intrinsics inside
// kernels, as code generation will need to offload function calls to the
// kernel. This may lead to a kernel trying to call a function on the host.