deprecate the -experimental-performance-annotations option

Performance annotations can now be used without specifying this option
This commit is contained in:
Erik Eckstein
2023-04-18 14:03:16 +02:00
parent 5e2e7e3884
commit 85052a1489
7 changed files with 1 additions and 19 deletions

View File

@@ -2058,8 +2058,6 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
} else if (Args.hasArg(OPT_EnbaleDefaultCMO)) {
Opts.CMOMode = CrossModuleOptimizationMode::Default;
}
Opts.EnablePerformanceAnnotations |=
Args.hasArg(OPT_ExperimentalPerformanceAnnotations);
Opts.EnableStackProtection =
Args.hasFlag(OPT_enable_stack_protector, OPT_disable_stack_protector,
Opts.EnableStackProtection);