[llvm] [LV] Optimize VPWidenIntOrFpInductionRecipe for known TC (PR #118828)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 28 04:53:23 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 af150272cff97c121ed4fdb76fce702fbe2f12a3 cbe3613bd1c058a898960456b29bfb606c6619a8 --extensions cpp,h -- llvm/lib/Transforms/Vectorize/VPlan.h llvm/lib/Transforms/Vectorize/VPlanPatternMatch.h 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 68d943e5dc..874985e1b8 100644
--- a/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+++ b/llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
@@ -1229,7 +1229,6 @@ static bool simplifyBranchConditionForVFAndUF(VPlan &Plan, ElementCount BestVF,
 
   Term->eraseFromParent();
 
-
   return true;
 }
 

``````````

</details>


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


More information about the llvm-commits mailing list