[clang] [PGO] Add ability to mark cold functions as optsize/minsize/optnone (PR #69030)
David Li via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 13 15:19:50 PDT 2023
================
@@ -27,10 +27,12 @@ class FileSystem;
struct PGOOptions {
enum PGOAction { NoAction, IRInstr, IRUse, SampleUse };
enum CSPGOAction { NoCSAction, CSIRInstr, CSIRUse };
+ enum class ColdFuncAttr { None, OptSize, MinSize, OptNone };
----------------
david-xl wrote:
None --> Default
https://github.com/llvm/llvm-project/pull/69030
More information about the cfe-commits
mailing list