[polly] [polly] Add polly-debug flag to print debug info from all parts of polly (PR #78549)

via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 17 23:59:00 PST 2024


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff c3cc09bdf8e83b86bd087e14b2dae34888422096 1aeb149cb15e83c8880a99aa94db224737331aa6 -- polly/include/polly/Support/PollyDebug.inc polly/lib/Support/PollyDebug.cpp polly/lib/Analysis/DependenceInfo.cpp polly/lib/Analysis/PolyhedralInfo.cpp polly/lib/Analysis/PruneUnprofitable.cpp polly/lib/Analysis/ScopBuilder.cpp polly/lib/Analysis/ScopDetection.cpp polly/lib/Analysis/ScopInfo.cpp polly/lib/CodeGen/CodeGeneration.cpp polly/lib/CodeGen/IslAst.cpp polly/lib/Support/SCEVValidator.cpp polly/lib/Transform/DeLICM.cpp polly/lib/Transform/FlattenAlgo.cpp polly/lib/Transform/FlattenSchedule.cpp polly/lib/Transform/ForwardOpTree.cpp polly/lib/Transform/ManualOptimizer.cpp polly/lib/Transform/MatmulOptimizer.cpp polly/lib/Transform/ScheduleOptimizer.cpp polly/lib/Transform/ScheduleTreeTransform.cpp polly/lib/Transform/ScopInliner.cpp polly/lib/Transform/Simplify.cpp polly/lib/Transform/ZoneAlgo.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/polly/include/polly/Support/PollyDebug.inc b/polly/include/polly/Support/PollyDebug.inc
index 84f1399125..bf087b1b7d 100644
--- a/polly/include/polly/Support/PollyDebug.inc
+++ b/polly/include/polly/Support/PollyDebug.inc
@@ -10,7 +10,6 @@
 //
 //===----------------------------------------------------------------------===//
 
-
 #ifndef POLLY_DEBUG_H
 #define POLLY_DEBUG_H
 
diff --git a/polly/lib/Transform/FlattenAlgo.cpp b/polly/lib/Transform/FlattenAlgo.cpp
index ddf5424364..a74025fd21 100644
--- a/polly/lib/Transform/FlattenAlgo.cpp
+++ b/polly/lib/Transform/FlattenAlgo.cpp
@@ -14,8 +14,8 @@
 #include "polly/FlattenAlgo.h"
 #include "polly/Support/ISLOStream.h"
 #include "polly/Support/ISLTools.h"
-#include "llvm/Support/Debug.h"
 #include "polly/Support/PollyDebug.inc"
+#include "llvm/Support/Debug.h"
 #define DEBUG_TYPE "polly-flatten-algo"
 
 using namespace polly;

``````````

</details>


https://github.com/llvm/llvm-project/pull/78549


More information about the llvm-commits mailing list