[PATCH] D120344: [SampleProf][Inliner] Add an option to turn off inliner in sample-profile pass.

Mingming Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 22 13:05:31 PST 2022


luna marked an inline comment as done.
luna added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/SampleProfile.cpp:187
+static cl::opt<bool> ProfileInlineFunctions(
+    "sample-profile-inline-functions", cl::Hidden, cl::init(true),
+    cl::desc("If false, turn off inliner in sample profile loader. Used for "
----------------
davidxl wrote:
> it is better to invert it: 'disable-sample-loader-inlining' and set to false.
thanks for the suggestions!

Done.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120344/new/

https://reviews.llvm.org/D120344



More information about the llvm-commits mailing list