[llvm] [PowerPC][AIX] Emit PowerPC version for XCOFF (PR #113214)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 10 20:50:26 PST 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 d22d63a7855840dd6398b77dcad71f001788ac86 2ba3f0a0ce90950097d44c1745b9ec9f4a2a8702 --extensions h,cpp -- llvm/include/llvm/BinaryFormat/XCOFF.h llvm/include/llvm/MC/MCAssembler.h llvm/include/llvm/MC/MCObjectWriter.h llvm/lib/BinaryFormat/XCOFF.cpp llvm/lib/MC/XCOFFObjectWriter.cpp llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp llvm/tools/llvm-readobj/XCOFFDumper.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
index a1155aa455..d829416310 100644
--- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -71,8 +71,8 @@
 #include "llvm/Support/Threading.h"
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/Target/TargetMachine.h"
-#include "llvm/TargetParser/Triple.h"
 #include "llvm/TargetParser/PPCTargetParser.h"
+#include "llvm/TargetParser/Triple.h"
 #include "llvm/Transforms/Utils/ModuleUtils.h"
 #include <algorithm>
 #include <cassert>

``````````

</details>


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


More information about the llvm-commits mailing list