[PATCH] D96032: [flang][driver] Add support for -fopenmp and -fopenacc
Andrzej Warzynski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 9 05:04:18 PST 2021
awarzynski accepted this revision.
awarzynski added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Flang.cpp:25-26
Args.AddAllArgs(CmdArgs, {options::OPT_ffixed_form, options::OPT_ffree_form,
- options::OPT_ffixed_line_length_EQ});
+ options::OPT_ffixed_line_length_EQ,
+ +options::OPT_fopenmp, options::OPT_fopenacc});
}
----------------
FarisRehman wrote:
> awarzynski wrote:
> > `-fopenmp` and `-fopenacc` enable extensions, so they are not dialect options.
> I decided to add this here as it is listed under "Fortran Dialect Options" in the gfortran documentation: https://gcc.gnu.org/onlinedocs/gfortran/Fortran-Dialect-Options.html
Makes sense, thanks for clarifying!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96032/new/
https://reviews.llvm.org/D96032
More information about the cfe-commits
mailing list