projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af54b67
)
[flang] Fix pgoOpt
author
Fangrui Song
<i@maskray.me>
Sun, 4 Dec 2022 21:29:00 +0000
(21:29 +0000)
committer
Fangrui Song
<i@maskray.me>
Sun, 4 Dec 2022 21:29:00 +0000
(21:29 +0000)
flang/lib/Frontend/FrontendActions.cpp
patch
|
blob
|
history
diff --git
a/flang/lib/Frontend/FrontendActions.cpp
b/flang/lib/Frontend/FrontendActions.cpp
index
a422b05
..
fe4dd1b
100644
(file)
--- a/
flang/lib/Frontend/FrontendActions.cpp
+++ b/
flang/lib/Frontend/FrontendActions.cpp
@@
-696,7
+696,7
@@
void CodeGenAction::runOptimizationPipeline(llvm::raw_pwrite_stream &os) {
// Create the pass manager builder.
llvm::PassInstrumentationCallbacks pic;
llvm::PipelineTuningOptions pto;
-
llvm::O
ptional<llvm::PGOOptions> pgoOpt;
+
std::o
ptional<llvm::PGOOptions> pgoOpt;
llvm::StandardInstrumentations si(
llvmModule->getContext(), opts.DebugPassManager);
si.registerCallbacks(pic, &fam);