[PATCH] D54564: [LTO] Load sample profile in LTO link step.
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 15 09:29:30 PST 2018
davidxl added inline comments.
================
Comment at: lib/Passes/PassBuilder.cpp:1006
+ // Load sample profile before running the LTO optimization pipeline.
+ MPM.addPass(SampleProfileLoaderPass(PGOOpt->SampleProfileFile,
+ PGOOpt->ProfileRemappingFile,
----------------
I thought sample profile is already loaded twice -- one in FE and one in backend compilation. Is it not the case?
Repository:
rL LLVM
https://reviews.llvm.org/D54564
More information about the llvm-commits
mailing list