[clang] [flang] [flang] Support -mabi=vec-extabi and -mabi=vec-default on AIX (PR #113215)
Kelvin Li via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 24 10:11:39 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") {
----------------
kkwli wrote:
Will remove the braces
https://github.com/llvm/llvm-project/pull/113215
More information about the cfe-commits
mailing list