[llvm] [PGO] Add ability to mark cold functions as optsize/minsize/optnone (PR #69030)

David Li via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 13 15:19:48 PDT 2023


================
@@ -202,6 +202,18 @@ static cl::opt<std::string>
                          cl::desc("Path to the profile remapping file."),
                          cl::Hidden);
 
+static cl::opt<PGOOptions::ColdFuncAttr> PGOColdFuncAttr(
+    "pgo-cold-func-attr", cl::init(PGOOptions::ColdFuncAttr::None), cl::Hidden,
----------------
david-xl wrote:

pgo-cold-func-opt

https://github.com/llvm/llvm-project/pull/69030


More information about the llvm-commits mailing list