[llvm] [VPlan] Iterate over header phis to determine FORs that need EVL fixup. NFCI (PR #147032)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 8 01:03:21 PDT 2025
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 HEAD~1 HEAD --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 43ced065c..a297d945f 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -2197,7 +2197,8 @@ static void transformRecipestoEVLRecipes(VPlan &Plan, VPValue &EVL) {
// When unrolling splices may not use VPFirstOrderRecurrencePHIRecipes, so the
// below transformation will need to be fixed.
- assert(!Plan.isUnrolled() && "Unrolling not supported with EVL tail folding.");
+ assert(!Plan.isUnrolled() &&
+ "Unrolling not supported with EVL tail folding.");
// Replace FirstOrderRecurrenceSplice with experimental_vp_splice intrinsics.
VPValue *PrevEVL = nullptr;
``````````
</details>
https://github.com/llvm/llvm-project/pull/147032
More information about the llvm-commits
mailing list