[compiler-rt] [llvm] [compiler-rt][X86] Unify getIntelProcessorTypeAndSubtype (PR #97861)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 5 14:38:13 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 1ed84a862f9ce3c60251968f23a5405f06458975 8118dcebce4f69d0a03615ca5639912ca40479d5 -- compiler-rt/lib/builtins/cpu_model/x86.c llvm/lib/TargetParser/Host.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/TargetParser/Host.cpp b/llvm/lib/TargetParser/Host.cpp
index 6486d3c57b..3767654a40 100644
--- a/llvm/lib/TargetParser/Host.cpp
+++ b/llvm/lib/TargetParser/Host.cpp
@@ -1097,10 +1097,10 @@ static const char *getIntelProcessorTypeAndSubtype(unsigned Family,
return CPU;
}
-static StringRef
-getAMDProcessorTypeAndSubtype(unsigned Family, unsigned Model,
- const unsigned *Features,
- unsigned *Type, unsigned *Subtype) {
+static StringRef getAMDProcessorTypeAndSubtype(unsigned Family, unsigned Model,
+ const unsigned *Features,
+ unsigned *Type,
+ unsigned *Subtype) {
StringRef CPU;
switch (Family) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/97861
More information about the llvm-commits
mailing list