[clang] [llvm] [PowerPC] Add an alias for -mregnames so that full register names used in assembly. (PR #70255)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 2 00:28:05 PDT 2023


================
@@ -197,6 +197,7 @@ CODEGENOPT(HIPCorrectlyRoundedDivSqrt, 1, 1) ///< -fno-hip-fp32-correctly-rounde
 CODEGENOPT(HIPSaveKernelArgName, 1, 0) ///< Set when -fhip-kernel-arg-name is enabled.
 CODEGENOPT(UniqueInternalLinkageNames, 1, 0) ///< Internal Linkage symbols get unique names.
 CODEGENOPT(SplitMachineFunctions, 1, 0) ///< Split machine functions using profile information.
+CODEGENOPT(UseFullRegisterNames, 1, 0) ///< Print full register names in assembly -mregnames
----------------
MaskRay wrote:

`PPCUseFullRegisterNames` or `PPCFullRegisterNames`

This is rs6000-specific in gcc.

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


More information about the cfe-commits mailing list