[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 12:47:59 PDT 2020


MaskRay added subscribers: zhizhouy, void.
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,
----------------
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?


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