Merge pull request #33085 from varungandhi-apple/vg-clang-types-in-sil-retry

Propagate Clang function types through SIL
This commit is contained in:
Varun Gandhi
2020-09-22 08:48:34 -07:00
committed by GitHub
38 changed files with 685 additions and 336 deletions

View File

@@ -1142,6 +1142,8 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
Opts.DebugSerialization |= Args.hasArg(OPT_sil_debug_serialization);
Opts.EmitVerboseSIL |= Args.hasArg(OPT_emit_verbose_sil);
Opts.EmitSortedSIL |= Args.hasArg(OPT_emit_sorted_sil);
Opts.PrintFullConvention |=
Args.hasArg(OPT_experimental_print_full_convention);
Opts.PrintInstCounts |= Args.hasArg(OPT_print_inst_counts);
Opts.StopOptimizationBeforeLoweringOwnership |=
Args.hasArg(OPT_sil_stop_optzns_before_lowering_ownership);