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

Kai Luo via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 14 00:24:07 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.
----------------
bzEq wrote:

Is there any document where do these constants come from?

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


More information about the llvm-commits mailing list