[llvm] [VPlan] Update final exit value via VPlan. (PR #112147)

via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 13 11:46:37 PDT 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 2c5dd03f55030338139a16c7ce5b2f406531905c 971caa328abb5e02a637e8a5bb984d3a32b8dd9d --extensions h,cpp -- llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h llvm/lib/Transforms/Vectorize/LoopVectorize.cpp llvm/lib/Transforms/Vectorize/VPlan.cpp llvm/lib/Transforms/Vectorize/VPlan.h llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp llvm/lib/Transforms/Vectorize/VPlanVerifier.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 9a177ada48..bb565d16a0 100644
--- a/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+++ b/llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
@@ -10205,7 +10205,9 @@ bool LoopVectorizePass::processLoop(Loop *L) {
                                            *BestMainPlan);
 
         VPlan &BestEpiPlan = LVP.getPlanFor(EPI.EpilogueVF);
-        // Collect PHI nodes of wide inductions in the VPlan for the epilogue. Those will need their resume-values computed from the main vector loop. Others can be removed in the main VPlan.
+        // Collect PHI nodes of wide inductions in the VPlan for the epilogue.
+        // Those will need their resume-values computed from the main vector
+        // loop. Others can be removed in the main VPlan.
         SmallPtrSet<PHINode *, 2> WidenedPhis;
         for (VPRecipeBase &R :
              BestEpiPlan.getVectorLoopRegion()->getEntryBasicBlock()->phis()) {

``````````

</details>


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


More information about the llvm-commits mailing list