[flang-commits] [clang] [flang] [flang] Enable alias tags pass by default (PR #73111)
Andrzej WarzyĆski via flang-commits
flang-commits at lists.llvm.org
Wed Nov 22 13:15:21 PST 2023
================
@@ -242,10 +242,24 @@ static void parseCodeGenArgs(Fortran::frontend::CodeGenOptions &opts,
clang::driver::options::OPT_fno_loop_versioning, false))
opts.LoopVersioning = 1;
- opts.AliasAnalysis =
- args.hasFlag(clang::driver::options::OPT_falias_analysis,
- clang::driver::options::OPT_fno_alias_analysis,
- /*default=*/false);
+ bool aliasAnalysis = false;
+ bool noAliasAnalysis = false;
----------------
banach-space wrote:
Why do we need two bools to model one thing? What's the logic that we trying to model here?
https://github.com/llvm/llvm-project/pull/73111
More information about the flang-commits
mailing list