================
@@ -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:

Even though the optimization directive is implemented as a function attribute, 
it might be better to express the real intention is to decide 'optimization 
strategy', so perhaps ColdFuncOpt as name or ColdFuncOptAttr? ColdFuncAttr 
feels too broad.

https://github.com/llvm/llvm-project/pull/69030
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to