[llvm] [PowerPC][AIX] Emit PowerPC version for XCOFF. (PR #95510)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 14 01:06:34 PDT 2024
================
@@ -334,9 +334,20 @@ enum CFileLangId : uint8_t {
};
enum CFileCpuId : uint8_t {
- TCPU_PPC64 = 2, ///< PowerPC common architecture 64-bit mode.
- TCPU_COM = 3, ///< POWER and PowerPC architecture common.
- TCPU_970 = 19 ///< PPC970 - PowerPC 64-bit architecture.
+ TCPU_INVALID = 0, ///< Invalid id - assumes POWER for old objects.
----------------
EsmeYi wrote:
Yes, these values are found in the file `/usr/include/aouthdr.h` on AIX.
https://github.com/llvm/llvm-project/pull/95510
More information about the llvm-commits
mailing list