[clang] [flang] [llvm] Add IR Profile-Guided Optimization (IR PGO) support to the Flang compiler (PR #136098)
via cfe-commits
cfe-commits at lists.llvm.org
Thu May 1 08:22:10 PDT 2025
================
@@ -8,8 +8,14 @@
#include "llvm/Frontend/Driver/CodeGenOptions.h"
#include "llvm/Analysis/TargetLibraryInfo.h"
+#include "llvm/ProfileData/InstrProfCorrelator.h"
#include "llvm/TargetParser/Triple.h"
+namespace llvm {
+extern llvm::cl::opt<bool> DebugInfoCorrelate;
+extern llvm::cl::opt<llvm::InstrProfCorrelator::ProfCorrelatorKind>
+ ProfileCorrelate;
+} // namespace llvm
namespace llvm::driver {
----------------
fanju110 wrote:
Thanks for your suggestion, I have corrected it
https://github.com/llvm/llvm-project/pull/136098
More information about the cfe-commits
mailing list