[flang-commits] [clang] [flang] [llvm] Add IR Profile-Guided Optimization (IR PGO) support to the Flang compiler (PR #136098)
Tarun Prabhu via flang-commits
flang-commits at lists.llvm.org
Wed Apr 30 16:18:35 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 {
----------------
tarunprabhu wrote:
nit: Leave an empty line between the end of the llvm namespace and the start of the llvm::driver namespace
https://github.com/llvm/llvm-project/pull/136098
More information about the flang-commits
mailing list