[clang] [flang] [flang] Support -mabi=vec-extabi and -mabi=vec-default on AIX (PR #113215)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 24 00:18:56 PDT 2024
================
@@ -203,6 +203,33 @@ void Flang::AddAArch64TargetArgs(const ArgList &Args,
}
}
+void Flang::AddPPCTargetArgs(const ArgList &Args,
+ ArgStringList &CmdArgs) const {
+ const Driver &D = getToolChain().getDriver();
+ bool VecExtabi = false;
+
+ if (const Arg *A = Args.getLastArg(options::OPT_mabi_EQ)) {
+ StringRef V = A->getValue();
+ if (V == "vec-extabi") {
----------------
jeanPerier wrote:
nit: not braces on single statement if/else.
https://github.com/llvm/llvm-project/pull/113215
More information about the cfe-commits
mailing list