[clang] [llvm] [Reland] [PowerPC] frontend get target feature from backend with cpu name (PR #144594)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 17 13:09:17 PDT 2025


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 HEAD~1 HEAD --extensions c,h,cpp -- llvm/utils/TableGen/Basic/EmitTargetFeature.cpp clang/lib/Basic/Targets/PPC.cpp clang/test/CodeGenCXX/cxx11-thread-local-reference.cpp clang/test/Driver/aix-shared-lib-tls-model-opt.c clang/test/Driver/aix-small-local-exec-dynamic-tls.c clang/test/Driver/ppc-crbits.cpp clang/test/Driver/ppc-isa-features.cpp llvm/include/llvm/TargetParser/PPCTargetParser.h llvm/include/llvm/TargetParser/TargetParser.h llvm/lib/TargetParser/PPCTargetParser.cpp llvm/lib/TargetParser/TargetParser.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/utils/TableGen/Basic/EmitTargetFeature.cpp b/llvm/utils/TableGen/Basic/EmitTargetFeature.cpp
index c73f4124c..f9ec82862 100644
--- a/llvm/utils/TableGen/Basic/EmitTargetFeature.cpp
+++ b/llvm/utils/TableGen/Basic/EmitTargetFeature.cpp
@@ -7,7 +7,7 @@
 //===----------------------------------------------------------------------===//
 //
 //  This tablegen backend exports cpu target features
-//  and cpu sub-type for all platform.  
+//  and cpu sub-type for all platform.
 //
 //===----------------------------------------------------------------------===//
 

``````````

</details>


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


More information about the llvm-commits mailing list