This is an archive of the discontinued LLVM Phabricator instance.

AttributeSetImpl: Summarize existing function attributes in a bitset.
ClosedPublic

Authored by MatzeB on Jan 26 2016, 7:41 PM.

Details

Summary

The majority of attribute queries checks for the existence of an enum
attribute in the FunctionIndex slot. We only have 48 of those and can
therefore summarize them in an uint64_t bitset which measurably improves
compile time.

Diff Detail

Repository
rL LLVM

Event Timeline

MatzeB updated this revision to Diff 46092.Jan 26 2016, 7:41 PM
MatzeB retitled this revision from to AttributeSetImpl: Summarize existing function attributes in a bitset..
MatzeB updated this object.
MatzeB added reviewers: void, bkramer, jyknight, hfinkel.
MatzeB set the repository for this revision to rL LLVM.
MatzeB added a subscriber: llvm-commits.
pete accepted this revision.Jan 29 2016, 1:59 PM
pete edited edge metadata.

LGTM. Thanks for working on this

This revision is now accepted and ready to land.Jan 29 2016, 1:59 PM
This revision was automatically updated to reflect the committed changes.