[PATCH] D62540: [SampleFDO] For functions without profiles, provide an option to put them in a special text section

Wenlei He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 6 13:00:41 PDT 2020


wenlei added inline comments.


================
Comment at: llvm/lib/CodeGen/CodeGenPrepare.cpp:181
+static cl::opt<bool> ProfileUnknownInSpecialSection(
+    "profile-unknown-in-special-section", cl::Hidden, cl::init(false),
+    cl::ZeroOrMore,
----------------
Set the default to true here so `partial-profile` alone can enable all related tweaks? 


Repository:
  rL LLVM

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

https://reviews.llvm.org/D62540





More information about the llvm-commits mailing list