aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorTarun Prabhu <tarun@lanl.gov>2025-05-30 08:27:08 -0600
committerGitHub <noreply@github.com>2025-05-30 08:27:08 -0600
commit597340b5b666bdee2887f56c111407b6737cbf34 (patch)
tree35491d2366cb592123ef3f3cdd0e01a48a986a47 /clang/lib/CodeGen/CodeGenModule.cpp
parente00366dcde294b420ae9decf5ac5d85463fd274f (diff)
downloadllvm-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.cpp2
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;