[flang-commits] [clang] [flang] 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
Tue Apr 22 07:54:31 PDT 2025
================
@@ -148,6 +148,55 @@ class CodeGenOptions : public CodeGenOptionsBase {
/// OpenMP is enabled.
using DoConcurrentMappingKind = flangomp::DoConcurrentMappingKind;
+ enum ProfileInstrKind {
----------------
tarunprabhu wrote:
Can this enum be shared between `clang` and `flang`? There is precedent for doing this, for example with the `VectorLibrary` enum. That was moved to `llvm/include/llvm/Frontend/Driver/CodeGenOptions.h`. We could consider doing the same for this.
https://github.com/llvm/llvm-project/pull/136098
More information about the flang-commits
mailing list