[PATCH] D58064: [ThinLTO] Record in index whether IR used a flattened sample PGO profile
Wei Mi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 11 13:35:15 PST 2019
wmi accepted this revision.
wmi added a comment.
This revision is now accepted and ready to land.
LGTM.
================
Comment at: lib/ProfileData/SampleProf.cpp:28
+cl::opt<bool> FlattenedProfileUsed(
+ "flattened-profile-used", cl::init(false), cl::Hidden,
----------------
tejohnson wrote:
> @wmi Would it be possible to record this information in the sample profile file itself? That would be cleaner.
That is a possiblity. But have to consider what is the best way to category the information we want to encode.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58064/new/
https://reviews.llvm.org/D58064
More information about the llvm-commits
mailing list