[clang] [compiler-rt] [llvm] [FMV][AArch64] Remove features which can be expressed as a combination of others. (PR #113580)

via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 24 08:18:17 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 ea3534b385a713639953fb5dfd287af87b52bead ff05dea7d4509d3a1ead7e2bcef685db62afe07a --extensions inc,cpp,c -- clang/test/CodeGen/aarch64-fmv-dependencies.c clang/test/CodeGen/attr-target-version.c clang/test/Sema/attr-target-clones-aarch64.c clang/test/SemaCXX/attr-target-version.cpp compiler-rt/lib/builtins/cpu_model/AArch64CPUFeatures.inc compiler-rt/lib/builtins/cpu_model/aarch64/fmv/mrs.inc llvm/include/llvm/TargetParser/AArch64CPUFeatures.inc
``````````

</details>

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

``````````diff
diff --git a/compiler-rt/lib/builtins/cpu_model/AArch64CPUFeatures.inc b/compiler-rt/lib/builtins/cpu_model/AArch64CPUFeatures.inc
index 96db3ee4b5..e454524c9c 100644
--- a/compiler-rt/lib/builtins/cpu_model/AArch64CPUFeatures.inc
+++ b/compiler-rt/lib/builtins/cpu_model/AArch64CPUFeatures.inc
@@ -53,9 +53,9 @@ enum CPUFeatures {
   FEAT_EBF16,
   FEAT_RPRES,
   FEAT_SVE,
-  RESERVED_FEAT_SVE_BF16, // previously used and now ABI legacy
+  RESERVED_FEAT_SVE_BF16,  // previously used and now ABI legacy
   RESERVED_FEAT_SVE_EBF16, // previously used and now ABI legacy
-  RESERVED_FEAT_SVE_I8MM, // previously used and now ABI legacy
+  RESERVED_FEAT_SVE_I8MM,  // previously used and now ABI legacy
   FEAT_SVE_F32MM,
   FEAT_SVE_F64MM,
   FEAT_SVE2,
diff --git a/llvm/include/llvm/TargetParser/AArch64CPUFeatures.inc b/llvm/include/llvm/TargetParser/AArch64CPUFeatures.inc
index 96db3ee4b5..e454524c9c 100644
--- a/llvm/include/llvm/TargetParser/AArch64CPUFeatures.inc
+++ b/llvm/include/llvm/TargetParser/AArch64CPUFeatures.inc
@@ -53,9 +53,9 @@ enum CPUFeatures {
   FEAT_EBF16,
   FEAT_RPRES,
   FEAT_SVE,
-  RESERVED_FEAT_SVE_BF16, // previously used and now ABI legacy
+  RESERVED_FEAT_SVE_BF16,  // previously used and now ABI legacy
   RESERVED_FEAT_SVE_EBF16, // previously used and now ABI legacy
-  RESERVED_FEAT_SVE_I8MM, // previously used and now ABI legacy
+  RESERVED_FEAT_SVE_I8MM,  // previously used and now ABI legacy
   FEAT_SVE_F32MM,
   FEAT_SVE_F64MM,
   FEAT_SVE2,

``````````

</details>


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


More information about the llvm-commits mailing list