diff options
author | Fangrui Song <maskray@google.com> | 2020-07-09 13:34:04 -0700 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-07-09 13:34:04 -0700 |
commit | c025bdf25a59a79d60a2e99962c8653547a825d8 (patch) | |
tree | 37b1fb1912890da0afe30a7abea36ac2f1eb06bc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 205dc0922d5f7305226f7457fcbcb4224c92530c (diff) | |
download | llvm-c025bdf25a59a79d60a2e99962c8653547a825d8.zip llvm-c025bdf25a59a79d60a2e99962c8653547a825d8.tar.gz llvm-c025bdf25a59a79d60a2e99962c8653547a825d8.tar.bz2 |
Revert D83013 "[LPM] Port CGProfilePass from NPM to LPM"
This reverts commit c92a8c0a0f68fbbb23e3fdde071007e63a552e82.
It breaks builds and has unaddressed review comments.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index fd34c6b..6f6af91 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -860,6 +860,7 @@ static bool ParseCodeGenArgs(CodeGenOptions &Opts, ArgList &Args, InputKind IK, Opts.RerollLoops = Args.hasArg(OPT_freroll_loops); Opts.DisableIntegratedAS = Args.hasArg(OPT_fno_integrated_as); + Opts.CallGraphProfile = !Opts.DisableIntegratedAS; Opts.Autolink = !Args.hasArg(OPT_fno_autolink); Opts.SampleProfileFile = std::string(Args.getLastArgValue(OPT_fprofile_sample_use_EQ)); |