[clang] [llvm] [FMV][AArch64] Expand feature dependencies using AArch64::ExtensionSet. (PR #113281)

via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 22 01:46:06 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 34d4f660fe57132d17d2e37b72ccfc1d07269de9 2b416dd0071d45be3f92671f0cb238091689a9dd --extensions h,c,cpp -- clang/lib/AST/ASTContext.cpp clang/lib/Basic/Targets/AArch64.cpp clang/test/CodeGen/aarch64-fmv-dependencies.c clang/test/CodeGen/aarch64-targetattr.c clang/test/CodeGen/attr-target-version.c clang/test/Preprocessor/aarch64-target-features.c clang/test/Sema/attr-target-clones-aarch64.c llvm/include/llvm/TargetParser/AArch64TargetParser.h llvm/utils/TableGen/ARMTargetDefEmitter.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/TargetParser/AArch64TargetParser.h b/llvm/include/llvm/TargetParser/AArch64TargetParser.h
index db64919d1f..d7b1ba511f 100644
--- a/llvm/include/llvm/TargetParser/AArch64TargetParser.h
+++ b/llvm/include/llvm/TargetParser/AArch64TargetParser.h
@@ -74,7 +74,7 @@ struct FMVInfo {
   unsigned Priority;             // FMV priority.
   FMVInfo(StringRef Name, CPUFeatures Bit, std::optional<ArchExtKind> ID,
           unsigned Priority)
-      : Name(Name), Bit(Bit), ID(ID), Priority(Priority){};
+      : Name(Name), Bit(Bit), ID(ID), Priority(Priority) {};
 };
 
 const std::vector<FMVInfo> &getFMVInfo();

``````````

</details>


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


More information about the cfe-commits mailing list