[clang] [llvm] [AArch64] Add FEAT_SME_B16B16 and remove FEAT_B16B16 (PR #102501)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 8 09:40:22 PDT 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 a0ed7d6c5fa1438983ee2c1ad25fbb53644d5eba 25e0bec990d0fc1b4c7faab4152adc2e18034661 --extensions c,cpp -- clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c clang/test/CodeGen/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c clang/test/Driver/print-supported-extensions-aarch64.c clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_add_sub_za16.c clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_fmlas16.c clang/test/Sema/aarch64-sme2-intrinsics/acle_sme2_mopa_nonwide.c llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp llvm/unittests/TargetParser/TargetParserTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/unittests/TargetParser/TargetParserTest.cpp b/llvm/unittests/TargetParser/TargetParserTest.cpp
index e4cab0430c..960a989220 100644
--- a/llvm/unittests/TargetParser/TargetParserTest.cpp
+++ b/llvm/unittests/TargetParser/TargetParserTest.cpp
@@ -2482,8 +2482,14 @@ AArch64ExtensionDependenciesBaseArchTestParams
         {AArch64::ARMV8A, {"sve2-sm4", "nosve2"}, {}, {"sve2", "sve2-sm4"}},
 
         // sve-b16b16 -> {sme-b16b16}
-        {AArch64::ARMV8A, {"nosve-b16b16", "sme-b16b16"}, {"sve-b16b16", "sme-b16b16"}, {}},
-        {AArch64::ARMV8A, {"sme-b16b16", "nosve-b16b16"}, {}, {"sve-b16b16", "sme-b16b16"}},
+        {AArch64::ARMV8A,
+         {"nosve-b16b16", "sme-b16b16"},
+         {"sve-b16b16", "sme-b16b16"},
+         {}},
+        {AArch64::ARMV8A,
+         {"sme-b16b16", "nosve-b16b16"},
+         {},
+         {"sve-b16b16", "sme-b16b16"}},
 
         // sme -> {sme2, sme-f16f16, sme-f64f64, sme-i16i64, sme-fa64}
         {AArch64::ARMV8A, {"nosme", "sme2"}, {"sme", "sme2"}, {}},

``````````

</details>


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


More information about the llvm-commits mailing list