[llvm] [AArch64] Convert concat(uhadd(a,b), uhadd(c,d)) to uhadd(concat(a,c), concat(b,d)) (PR #79464)

via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 26 05:59:23 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 e302950023cd99251371c5dc8a1e3b609dd5a8fe 8c3b070b72e20b05410a43705bedace9fe5fc481 -- llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
index dbdea9d3c5..db46d5ed08 100644
--- a/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
+++ b/llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
@@ -18140,8 +18140,8 @@ static SDValue performConcatVectorsCombine(SDNode *N,
     EVT N10VT = N10.getValueType();
 
     // For extracted subvectors from the same original vectors, combine these
-    // into a single avg that operates on the two original vectors. 
-    // avgceil is the target independant name for rhadd, avgfloor is a hadd. 
+    // into a single avg that operates on the two original vectors.
+    // avgceil is the target independant name for rhadd, avgfloor is a hadd.
     // Example:
     //  (concat_vectors (v8i8 (avgceils (extract_subvector (v16i8 OpA, <0>),
     //                                   extract_subvector (v16i8 OpB, <0>))),

``````````

</details>


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


More information about the llvm-commits mailing list