[Lldb-commits] [flang] [llvm] [clang] [lld] [libcxx] [lldb] [clang-tools-extra] [libc] [OpenACC] Initial commits to support OpenACC (PR #70234)

Alexey Bataev via lldb-commits lldb-commits at lists.llvm.org
Mon Nov 13 08:49:23 PST 2023


================
@@ -4001,6 +4008,14 @@ bool CompilerInvocation::ParseLangArgs(LangOptions &Opts, ArgList &Args,
                         (T.isNVPTX() || T.isAMDGCN()) &&
                         Args.hasArg(options::OPT_fopenmp_cuda_mode);
 
+  // OpenACC Configuration.
+  if (Args.hasArg(options::OPT_fopenacc)) {
+    Opts.OpenACC = true;
----------------
alexey-bataev wrote:

Maybe keep the version of the ACC in this value instead of having a separate string field, just like OpenMP does? 0 means th support is disabled, non-zero - supported version number.

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


More information about the lldb-commits mailing list