[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
Sun Nov 5 10:16:21 PST 2023


================
@@ -5011,6 +5011,12 @@ void Clang::ConstructJob(Compilation &C, const JobAction &JA,
     Args.AddLastArg(CmdArgs, options::OPT_fthinlto_index_EQ);
   }
 
+  if (Triple.isPPC())
+    if (const Arg *A =
----------------
MaskRay wrote:

use `AddOptInFlag`

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


More information about the cfe-commits mailing list