[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:47:59 PDT 2025


================
@@ -13,9 +13,14 @@
 #ifndef LLVM_FRONTEND_DRIVER_CODEGENOPTIONS_H
 #define LLVM_FRONTEND_DRIVER_CODEGENOPTIONS_H
 
+#include "llvm/ProfileData/InstrProfCorrelator.h"
+#include <string>
 namespace llvm {
 class Triple;
 class TargetLibraryInfoImpl;
+extern llvm::cl::opt<bool> DebugInfoCorrelate;
----------------
fanju110 wrote:

As suggested by reviewer, I put it in the cpp that uses it

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


More information about the flang-commits mailing list