This is an archive of the discontinued LLVM Phabricator instance.

[CSSPGO] Print "context-nested" instead of "preilnined" for ProfileSummarySection.
ClosedPublic

Authored by hoy on Jan 12 2022, 12:23 PM.

Diff Detail

Event Timeline

hoy created this revision.Jan 12 2022, 12:23 PM
hoy requested review of this revision.Jan 12 2022, 12:23 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 12 2022, 12:23 PM
hoy edited the summary of this revision. (Show Details)Jan 12 2022, 12:24 PM
hoy added reviewers: wenlei, wlei.
wenlei added inline comments.Jan 18 2022, 3:11 PM
llvm/lib/ProfileData/SampleProfReader.cpp
1291–1292

nit: csnested -> context-nested because we use context for SecFlagFullContext

Additionally, would it make sense for SecFlagIsCSNested to be a flag for SecProfSummaryFlags just like SecFlagFullContext?

hoy updated this revision to Diff 401016.Jan 18 2022, 3:38 PM

Addressing feedbacks.

llvm/lib/ProfileData/SampleProfReader.cpp
1291–1292

Yes, makes sense to have the flag for profile summary.

wenlei accepted this revision.Jan 18 2022, 3:42 PM

lgtm, thanks.

This revision is now accepted and ready to land.Jan 18 2022, 3:42 PM
hoy retitled this revision from [CSSPGO] Print "csnested" instead of "preilnined" for SecFuncMetadata. to [CSSPGO] Print "context-nested" instead of "preilnined" for ProfileSummarySection..Jan 18 2022, 5:01 PM
This revision was landed with ongoing or failed builds.Jan 18 2022, 6:10 PM
This revision was automatically updated to reflect the committed changes.