[PATCH] D83013: [LPM] Port CGProfilePass from NPM to LPM
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 5 15:28:35 PDT 2020
MaskRay added inline comments.
================
Comment at: llvm/tools/opt/opt.cpp:281
+static cl::opt<bool> EnableCallGraphProfile(
+ "enable-call-graph-profile", cl::init(true), cl::Hidden,
----------------
zhizhouy wrote:
> MaskRay wrote:
> > If there is no strong need for tuning this, please delete the option and PassManagerBuilder::CallGraphProfile
> >
> > -----
> >
> > I know that `-enable-npm-call-graph-profile` exists, but it seems like a temporary workaround for me. @zhizhouy @void (D62627) Is the option still used?
> Does GNU assembler recognize .cgprofile section now?
>
> I think we should keep this option as long as there is still usage of other than integrated assembler.
> Does GNU assembler recognize .cgprofile section now?
I don't think it will ever support this section.
> I think we should keep this option as long as there is still usage of other than integrated assembler.
Can you give a link about the use case?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83013/new/
https://reviews.llvm.org/D83013
More information about the llvm-commits
mailing list