[clang] [lldb] [llvm] [AArch64][TargetParser] autogen ArchExtKind enum - renaming (PR #90320)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 2 06:07:25 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 d9fc5babb96ca9c75f36f9cf3d3f2a55ddc0ab4d 5db47b54f49943072a2b787fc64b92f1e9c4f21c -- clang/lib/Basic/Targets/AArch64.cpp clang/lib/Basic/Targets/AArch64.h clang/lib/Driver/ToolChains/Arch/AArch64.cpp clang/test/CodeGen/aarch64-mixed-target-attributes.c clang/test/CodeGen/aarch64-targetattr.c clang/test/CodeGen/arm_acle.c clang/test/CodeGen/attr-target-clones-aarch64.c clang/test/CodeGen/attr-target-version.c clang/test/Driver/aarch64-fp16.c clang/test/Driver/aarch64-perfmon.c clang/test/Driver/aarch64-rand.c clang/test/Preprocessor/aarch64-target-features.c llvm/include/llvm/TargetParser/AArch64TargetParser.h llvm/include/llvm/TargetParser/ARMTargetParser.h llvm/lib/Target/AArch64/AArch64ISelLowering.cpp llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp llvm/lib/TargetParser/AArch64TargetParser.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 b08ede84d2..9cc8845e8c 100644
--- a/llvm/unittests/TargetParser/TargetParserTest.cpp
+++ b/llvm/unittests/TargetParser/TargetParserTest.cpp
@@ -1306,7 +1306,7 @@ INSTANTIATE_TEST_SUITE_P(
                  AArch64::AEK_FP16FML,     AArch64::AEK_PAUTH,
                  AArch64::AEK_SVE2BITPERM, AArch64::AEK_FLAGM,
                  AArch64::AEK_PMUV3,       AArch64::AEK_PREDRES,
-                 AArch64::AEK_PROFILE,         AArch64::AEK_JSCVT,
+                 AArch64::AEK_PROFILE,     AArch64::AEK_JSCVT,
                  AArch64::AEK_FCMA}),
             "9.2-A"),
         ARMCPUTestParams<AArch64::ExtensionBitset>(
@@ -1323,20 +1323,24 @@ INSTANTIATE_TEST_SUITE_P(
                  AArch64::AEK_FP16FML,     AArch64::AEK_PAUTH,
                  AArch64::AEK_SVE2BITPERM, AArch64::AEK_FLAGM,
                  AArch64::AEK_PMUV3,       AArch64::AEK_PREDRES,
-                 AArch64::AEK_PROFILE,         AArch64::AEK_JSCVT,
+                 AArch64::AEK_PROFILE,     AArch64::AEK_JSCVT,
                  AArch64::AEK_FCMA}),
             "9.2-A"),
         ARMCPUTestParams<AArch64::ExtensionBitset>(
             "neoverse-v1", "armv8.4-a", "crypto-neon-fp-armv8",
             AArch64::ExtensionBitset(
-                {AArch64::AEK_RAS,  AArch64::AEK_SVE,      AArch64::AEK_SSBS,
-                 AArch64::AEK_RCPC, AArch64::AEK_CRC,      AArch64::AEK_FPARMV8,
-                 AArch64::AEK_NEON, AArch64::AEK_RAS,      AArch64::AEK_LSE,
-                 AArch64::AEK_RDM,  AArch64::AEK_RCPC,     AArch64::AEK_DOTPROD,
-                 AArch64::AEK_AES,  AArch64::AEK_SHA2,     AArch64::AEK_SHA3,
-                 AArch64::AEK_SM4,  AArch64::AEK_FULLFP16, AArch64::AEK_BF16,
-                 AArch64::AEK_PROFILE,  AArch64::AEK_RNG,      AArch64::AEK_FP16FML,
-                 AArch64::AEK_I8MM, AArch64::AEK_JSCVT,    AArch64::AEK_FCMA,
+                {AArch64::AEK_RAS,      AArch64::AEK_SVE,
+                 AArch64::AEK_SSBS,     AArch64::AEK_RCPC,
+                 AArch64::AEK_CRC,      AArch64::AEK_FPARMV8,
+                 AArch64::AEK_NEON,     AArch64::AEK_RAS,
+                 AArch64::AEK_LSE,      AArch64::AEK_RDM,
+                 AArch64::AEK_RCPC,     AArch64::AEK_DOTPROD,
+                 AArch64::AEK_AES,      AArch64::AEK_SHA2,
+                 AArch64::AEK_SHA3,     AArch64::AEK_SM4,
+                 AArch64::AEK_FULLFP16, AArch64::AEK_BF16,
+                 AArch64::AEK_PROFILE,  AArch64::AEK_RNG,
+                 AArch64::AEK_FP16FML,  AArch64::AEK_I8MM,
+                 AArch64::AEK_JSCVT,    AArch64::AEK_FCMA,
                  AArch64::AEK_PAUTH}),
             "8.4-A"),
         ARMCPUTestParams<AArch64::ExtensionBitset>(
@@ -1371,7 +1375,7 @@ INSTANTIATE_TEST_SUITE_P(
                  AArch64::AEK_PAUTH,       AArch64::AEK_FLAGM,
                  AArch64::AEK_PMUV3,       AArch64::AEK_RNG,
                  AArch64::AEK_SVE2BITPERM, AArch64::AEK_FP16FML,
-                 AArch64::AEK_PROFILE,         AArch64::AEK_JSCVT,
+                 AArch64::AEK_PROFILE,     AArch64::AEK_JSCVT,
                  AArch64::AEK_FCMA}),
             "9.2-A"),
         ARMCPUTestParams<AArch64::ExtensionBitset>(
@@ -1390,7 +1394,7 @@ INSTANTIATE_TEST_SUITE_P(
                  AArch64::AEK_PAUTH,       AArch64::AEK_FLAGM,
                  AArch64::AEK_PMUV3,       AArch64::AEK_RNG,
                  AArch64::AEK_SVE2BITPERM, AArch64::AEK_FP16FML,
-                 AArch64::AEK_PROFILE,         AArch64::AEK_JSCVT,
+                 AArch64::AEK_PROFILE,     AArch64::AEK_JSCVT,
                  AArch64::AEK_FCMA}),
             "9.2-A"),
         ARMCPUTestParams<AArch64::ExtensionBitset>(
@@ -1477,7 +1481,7 @@ INSTANTIATE_TEST_SUITE_P(
                  AArch64::AEK_FP16FML,     AArch64::AEK_PAUTH,
                  AArch64::AEK_SVE2BITPERM, AArch64::AEK_FLAGM,
                  AArch64::AEK_PMUV3,       AArch64::AEK_PREDRES,
-                 AArch64::AEK_PROFILE,         AArch64::AEK_JSCVT,
+                 AArch64::AEK_PROFILE,     AArch64::AEK_JSCVT,
                  AArch64::AEK_FCMA}),
             "9.2-A"),
         ARMCPUTestParams<AArch64::ExtensionBitset>(
@@ -1756,14 +1760,18 @@ INSTANTIATE_TEST_SUITE_P(
         ARMCPUTestParams<AArch64::ExtensionBitset>(
             "neoverse-512tvb", "armv8.4-a", "crypto-neon-fp-armv8",
             AArch64::ExtensionBitset(
-                {AArch64::AEK_RAS,  AArch64::AEK_SVE,      AArch64::AEK_SSBS,
-                 AArch64::AEK_RCPC, AArch64::AEK_CRC,      AArch64::AEK_FPARMV8,
-                 AArch64::AEK_NEON, AArch64::AEK_RAS,      AArch64::AEK_LSE,
-                 AArch64::AEK_RDM,  AArch64::AEK_RCPC,     AArch64::AEK_DOTPROD,
-                 AArch64::AEK_AES,  AArch64::AEK_SHA2,     AArch64::AEK_SHA3,
-                 AArch64::AEK_SM4,  AArch64::AEK_FULLFP16, AArch64::AEK_BF16,
-                 AArch64::AEK_PROFILE,  AArch64::AEK_RNG,      AArch64::AEK_FP16FML,
-                 AArch64::AEK_I8MM, AArch64::AEK_JSCVT,    AArch64::AEK_FCMA,
+                {AArch64::AEK_RAS,      AArch64::AEK_SVE,
+                 AArch64::AEK_SSBS,     AArch64::AEK_RCPC,
+                 AArch64::AEK_CRC,      AArch64::AEK_FPARMV8,
+                 AArch64::AEK_NEON,     AArch64::AEK_RAS,
+                 AArch64::AEK_LSE,      AArch64::AEK_RDM,
+                 AArch64::AEK_RCPC,     AArch64::AEK_DOTPROD,
+                 AArch64::AEK_AES,      AArch64::AEK_SHA2,
+                 AArch64::AEK_SHA3,     AArch64::AEK_SM4,
+                 AArch64::AEK_FULLFP16, AArch64::AEK_BF16,
+                 AArch64::AEK_PROFILE,  AArch64::AEK_RNG,
+                 AArch64::AEK_FP16FML,  AArch64::AEK_I8MM,
+                 AArch64::AEK_JSCVT,    AArch64::AEK_FCMA,
                  AArch64::AEK_PAUTH}),
             "8.4-A"),
         ARMCPUTestParams<AArch64::ExtensionBitset>(

``````````

</details>


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


More information about the llvm-commits mailing list