[flang] [clang] [flang] Enable alias tags pass by default (PR #73111)

Kiran Chandramohan via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 27 02:30:48 PST 2023


================
@@ -142,6 +142,26 @@ void Flang::addCodegenOptions(const ArgList &Args,
   if (shouldLoopVersion(Args))
     CmdArgs.push_back("-fversion-loops-for-stride");
 
+  Arg *aliasAnalysis = Args.getLastArg(options::OPT_falias_analysis,
+                                       options::OPT_fno_alias_analysis);
+  Arg *optLevel =
+      Args.getLastArg(options::OPT_Ofast, options::OPT_O, options::OPT_O4);
----------------
kiranchandramohan wrote:

Some discussion regarding `-Os` is here.
https://discourse.llvm.org/t/code-size-optimization-flags-in-flang/69482

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


More information about the cfe-commits mailing list