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/CodeGenAction.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/CodeGenAction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenAction.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenAction.cpp b/clang/lib/CodeGen/CodeGenAction.cpp index 5493cc9..1f5eb42 100644 --- a/clang/lib/CodeGen/CodeGenAction.cpp +++ b/clang/lib/CodeGen/CodeGenAction.cpp @@ -273,8 +273,8 @@ void BackendConsumer::HandleTranslationUnit(ASTContext &C) { std::unique_ptr<llvm::ToolOutputFile> OptRecordFile = std::move(*OptRecordFileOrErr); - if (OptRecordFile && CodeGenOpts.getProfileUse() != - llvm::driver::ProfileInstrKind::ProfileNone) + if (OptRecordFile && + CodeGenOpts.getProfileUse() != CodeGenOptions::ProfileNone) Ctx.setDiagnosticsHotnessRequested(true); if (CodeGenOpts.MisExpect) { |