[clang] [llvm] [PowerPC] add TargetParser for PPC target (PR #97541)

David Tenty via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 3 08:36:16 PDT 2024


================
@@ -1963,8 +1964,11 @@ void Clang::AddPPCTargetArgs(const ArgList &Args,
   const llvm::Triple &T = getToolChain().getTriple();
   if (Args.getLastArg(options::OPT_mtune_EQ)) {
----------------
daltenty wrote:

See below:
```suggestion
  if (Arg *A = Args.getLastArg(options::OPT_mtune_EQ)) {
```

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


More information about the cfe-commits mailing list