[clang] [flang] [Flang-new][OpenMP] Add bitcode files for AMD GPU OpenMP (PR #96742)
Andrzej WarzyĆski via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 5 00:37:46 PDT 2024
================
@@ -333,6 +333,9 @@ void Flang::AddAMDGPUTargetArgs(const ArgList &Args,
StringRef Val = A->getValue();
CmdArgs.push_back(Args.MakeArgString("-mcode-object-version=" + Val));
}
+
+ const ToolChain &TC = getToolChain();
+ TC.addClangTargetOptions(Args, CmdArgs, Action::OffloadKind::OFK_OpenMP);
----------------
banach-space wrote:
> Shall I extend https://github.com/llvm/llvm-project/pull/94763 ?
Yes, please.
> Who could be the right person to ask?
> > I don't know. Open-source LLVM Flang meetings can be good place to ask this question.
Did you ask? What feedback did you get?
https://github.com/llvm/llvm-project/pull/96742
More information about the cfe-commits
mailing list