[flang-commits] [clang] [flang] [flang] Update -falias-analysis help text (PR #73548)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Tue Nov 28 06:17:04 PST 2023


================
@@ -6334,8 +6334,8 @@ defm loop_versioning : BoolOptionWithoutMarshalling<"f", "version-loops-for-stri
   PosFlag<SetTrue, [], [ClangOption], "Create unit-strided versions of loops">,
    NegFlag<SetFalse, [], [ClangOption], "Do not create unit-strided loops (default)">>;
 defm alias_analysis : BoolOptionWithoutMarshalling<"f", "alias-analysis",
-  PosFlag<SetTrue, [], [], "Pass alias information on to LLVM (default when optimizing for speed)">,
-  NegFlag<SetFalse, [], [], "Do not pass alias information on to LLVM (default for unoptimized builds)">>;
+  PosFlag<SetTrue, [], [], "Pass alias information on to LLVM (default when optimizing for speed). Overrides -O0.">,
+  NegFlag<SetFalse, [], [], "Do not pass alias information on to LLVM (default for unoptimized builds). Overrides -O flags.">>;
 } // let Visibility = [FC1Option, FlangOption]
----------------
tblah wrote:

Sure. Would it be okay to do that in a few weeks once the dust has settled from enabling it by default? `-fno-alias-analysis` is an easy work around if any problems show up

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


More information about the flang-commits mailing list