[llvm] [LV][VPlan] Extract the implementation of transform Recipe to EVLRecipe into a small function. NFC (PR #119510)

via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 18:31:49 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 77b6910b272c254ad7dd96420a7cc41d917b8a9e aa1d1c8928da2c8bda64527592a4778d3f0d58ed --extensions cpp -- llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
index 31f4063f06..2a02b2bd38 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -1443,7 +1443,8 @@ void VPlanTransforms::addActiveLaneMask(
 // \p CurRecipe     Recipe to be transform.
 // \p TypeInfo      VPlan-based type analysis.
 // \p AllOneMask    The vector mask parameter of vector-predication intrinsics.
-// \p EVL           The explicit vector length parameter of vector-predication intrinsics.
+// \p EVL           The explicit vector length parameter of vector-predication
+// intrinsics.
 static VPRecipeBase *createEVLRecipe(VPValue *HeaderMask,
                                      VPRecipeBase &CurRecipe,
                                      VPTypeAnalysis &TypeInfo,

``````````

</details>


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


More information about the llvm-commits mailing list