[llvm] [SROA]: Only defer trying partial sized ptr or ptr vector types (PR #82279)

via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 19 13:44:56 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 8e8f9c0bc0773147b8e9dbc0df9730efd630e18f 02e746474ba04df8149c445a25f5069ca9995183 -- llvm/lib/Transforms/Scalar/SROA.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/Scalar/SROA.cpp b/llvm/lib/Transforms/Scalar/SROA.cpp
index b12d156e06..e24f4af5f1 100644
--- a/llvm/lib/Transforms/Scalar/SROA.cpp
+++ b/llvm/lib/Transforms/Scalar/SROA.cpp
@@ -2368,7 +2368,6 @@ static VectorType *isVectorPromotionViable(Partition &P, const DataLayout &DL) {
   return createAndCheckVectorTypesForPromotion(DeferredTys, CandidateTysCopy);
 }
 
-
 /// Test whether a slice of an alloca is valid for integer widening.
 ///
 /// This implements the necessary checking for the \c isIntegerWideningViable

``````````

</details>


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


More information about the llvm-commits mailing list