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

Siddharth Bhat via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 18 06:16:58 PDT 2017


Author: bollu
Date: Fri Aug 18 06:16:58 2017
New Revision: 311158

URL: http://llvm.org/viewvc/llvm-project?rev=311158&view=rev
Log:
[Polly] [PPCGCodeGeneration] Print current Scop and loop depth in PPCGCodeGen. [NFC]

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

Modified:
    polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp

Modified: polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp?rev=311158&r1=311157&r2=311158&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/PPCGCodeGeneration.cpp Fri Aug 18 06:16:58 2017
@@ -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.




More information about the llvm-commits mailing list