[clang] [flang] [llvm] Add IR Profile-Guided Optimization (IR PGO) support to the Flang compiler (PR #136098)

Arthur Eubanks via cfe-commits cfe-commits at lists.llvm.org
Thu May 1 10:13:12 PDT 2025


================
@@ -130,6 +133,20 @@ static bool saveMLIRTempFile(const CompilerInvocation &ci,
 // Custom BeginSourceFileAction
 //===----------------------------------------------------------------------===//
 
+
+static llvm::cl::opt<llvm::PGOOptions::ColdFuncOpt> ClPGOColdFuncAttr(
----------------
aeubanks wrote:

sorry, I missed this, yeah promoting this to a proper frontend option is fine

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


More information about the cfe-commits mailing list