[llvm] [VPlan] Also print final VPlan directly before codegen/execute. (PR #82269)

via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 28 05:05:04 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 5468f8841353cd56350a6ebe6898d2563e5c34b0 5cf4df4d1d17ae5cc5eed9b5666028f4d0faba0c -- llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
index 3674d70b34..2e76adb83b 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -7453,8 +7453,8 @@ LoopVectorizationPlanner::executePlan(
   if (!IsEpilogueVectorization)
     VPlanTransforms::optimizeForVFAndUF(BestVPlan, BestVF, BestUF, PSE);
 
-  LLVM_DEBUG(dbgs() << "Executing best plan with VF=" << BestVF << ", UF=" << BestUF
-                    << '\n');
+  LLVM_DEBUG(dbgs() << "Executing best plan with VF=" << BestVF
+                    << ", UF=" << BestUF << '\n');
   BestVPlan.setName("Final VPlan");
   LLVM_DEBUG(BestVPlan.dump());
 

``````````

</details>


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


More information about the llvm-commits mailing list