This is an archive of the discontinued LLVM Phabricator instance.

[MemProf] Removed unused allocation type
ClosedPublic

Authored by tejohnson on May 2 2023, 10:48 AM.

Details

Summary

Removes the 'notcoldandcold' allocation type summary
(de)serialization support added in D135714, after realizing that this
will never be generated in practice.

There are 2 uses of the allocation type keywords in the summary. One is
for the individual profiled memprof context summaries, and each context
can only be assigned a single type of hotness. The second is in the
clone version information produced by the MemProfContextDisambiguation
whole program step, and we only create a clone for a specific allocation
type.

Diff Detail

Event Timeline

tejohnson created this revision.May 2 2023, 10:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2023, 10:48 AM
tejohnson requested review of this revision.May 2 2023, 10:48 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 2 2023, 10:48 AM
This revision is now accepted and ready to land.May 2 2023, 11:50 AM
This revision was landed with ongoing or failed builds.May 2 2023, 1:12 PM
This revision was automatically updated to reflect the committed changes.