This is an archive of the discontinued LLVM Phabricator instance.

[Attributor][Stats] Locate statistics tracking with the attributes
ClosedPublic

Authored by jdoerfert on Aug 4 2019, 3:42 PM.

Details

Summary

The ever growing switch required Attribute::AttrKind values but they
might not be available for all abstract attributes we deduce. With the
new method we track statistics at the abstract attribute level. The
provided macros simplify the usage and make the messages uniform.

Event Timeline

jdoerfert created this revision.Aug 4 2019, 3:42 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2019, 3:42 PM
uenoku accepted this revision.Aug 6 2019, 5:59 AM

LGTM

This revision is now accepted and ready to land.Aug 6 2019, 5:59 AM
This revision was automatically updated to reflect the committed changes.