================ @@ -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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits