diff options
author | Tarun Prabhu <tarun@lanl.gov> | 2025-05-30 08:27:08 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-30 08:27:08 -0600 |
commit | 597340b5b666bdee2887f56c111407b6737cbf34 (patch) | |
tree | 35491d2366cb592123ef3f3cdd0e01a48a986a47 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | e00366dcde294b420ae9decf5ac5d85463fd274f (diff) | |
download | llvm-597340b5b666bdee2887f56c111407b6737cbf34.zip llvm-597340b5b666bdee2887f56c111407b6737cbf34.tar.gz llvm-597340b5b666bdee2887f56c111407b6737cbf34.tar.bz2 |
Revert "Add IR Profile-Guided Optimization (IR PGO) support to the Flang compiler" (#142159)
Reverts llvm/llvm-project#136098
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 264f1bd..6d2c705 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -3601,7 +3601,7 @@ CodeGenModule::isFunctionBlockedByProfileList(llvm::Function *Fn, // If the profile list is empty, then instrument everything. if (ProfileList.isEmpty()) return ProfileList::Allow; - llvm::driver::ProfileInstrKind Kind = getCodeGenOpts().getProfileInstr(); + CodeGenOptions::ProfileInstrKind Kind = getCodeGenOpts().getProfileInstr(); // First, check the function name. if (auto V = ProfileList.isFunctionExcluded(Fn->getName(), Kind)) return *V; |