diff options
author | Zequan Wu <zequanwu@google.com> | 2020-07-08 12:30:28 -0700 |
---|---|---|
committer | Zequan Wu <zequanwu@google.com> | 2020-07-09 13:03:42 -0700 |
commit | c92a8c0a0f68fbbb23e3fdde071007e63a552e82 (patch) | |
tree | 7ce0781d0e786a541846a68635942504bac850fc /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | ff5b9a7b3b2736db02c6550bb4eae84ae65e294c (diff) | |
download | llvm-c92a8c0a0f68fbbb23e3fdde071007e63a552e82.zip llvm-c92a8c0a0f68fbbb23e3fdde071007e63a552e82.tar.gz llvm-c92a8c0a0f68fbbb23e3fdde071007e63a552e82.tar.bz2 |
[LPM] Port CGProfilePass from NPM to LPM
Reviewers: hans, chandlerc!, asbirlea, nikic
Reviewed By: hans, nikic
Subscribers: steven_wu, dexonsmith, nikic, echristo, void, zhizhouy, cfe-commits, aeubanks, MaskRay, jvesely, nhaehnle, hiraditya, kerbowa, llvm-commits
Tags: #llvm, #clang
Differential Revision: https://reviews.llvm.org/D83013
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
-rw-r--r-- | clang/lib/Frontend/CompilerInvocation.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp index 6f6af91..fd34c6b 100644 --- a/clang/lib/Frontend/CompilerInvocation.cpp +++ b/clang/lib/Frontend/CompilerInvocation.cpp @@ -860,7 +860,6 @@ 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)); |