[clang] [flang] [flang][cuda] Add -fcuda option (PR #84944)

Valentin Clement バレンタイン クレメン via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 12 14:11:07 PDT 2024


================
@@ -6488,6 +6488,9 @@ defm stack_arrays : BoolOptionWithoutMarshalling<"f", "stack-arrays",
 defm loop_versioning : BoolOptionWithoutMarshalling<"f", "version-loops-for-stride",
   PosFlag<SetTrue, [], [ClangOption], "Create unit-strided versions of loops">,
    NegFlag<SetFalse, [], [ClangOption], "Do not create unit-strided loops (default)">>;
+
+def fcuda : Flag<["-"], "fcuda">, Group<f_Group>,
----------------
clementval wrote:

I switch to use the `-x cuda` option which has a similar meaning. 

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


More information about the cfe-commits mailing list