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

via flang-commits flang-commits at lists.llvm.org
Wed Apr 30 02:50:48 PDT 2025


================
@@ -19,6 +21,7 @@ template <typename T> class Expected;
 template <typename T> class IntrusiveRefCntPtr;
 class Module;
 class MemoryBufferRef;
+extern cl::opt<llvm::PGOOptions::ColdFuncOpt> ClPGOColdFuncAttr;
----------------
fanju110 wrote:

I think you're right, I'll just put it back in BackendUtil.cpp. I'm going to leave this experiment out of flang for now. My next step is to work on the other options in PGO that are not implemented yet

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


More information about the flang-commits mailing list