[PATCH] D111847: [CSSPGO] Turn off PseudoProbeUpdatePass for non-FDO builds.
Wenlei He via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 14 15:36:52 PDT 2021
wenlei accepted this revision.
wenlei added a comment.
This revision is now accepted and ready to land.
lgtm.
================
Comment at: llvm/lib/Passes/PassBuilderPipelines.cpp:1261
- if (PGOOpt && PGOOpt->PseudoProbeForProfiling)
+ if (PGOOpt && PGOOpt->PseudoProbeForProfiling && PGOOpt->Action == PGOOptions::SampleUse)
MPM.addPass(PseudoProbeUpdatePass());
----------------
linter might complain the length of the line.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111847/new/
https://reviews.llvm.org/D111847
More information about the llvm-commits
mailing list