This is an archive of the discontinued LLVM Phabricator instance.

[IR] Add AttributeSet to hide AttributeSetNode* again, NFC
ClosedPublic

Authored by rnk on Apr 11 2017, 8:37 AM.

Details

Summary

For now, it just wraps AttributeSetNode*. Eventually, it will hold
AvailableAttrs as an inline bitset, and adding and removing enum
attributes will be super cheap.

This sinks AttributeSetNode back down to lib/IR/AttributeImpl.h.

Diff Detail

Repository
rL LLVM

Event Timeline

rnk created this revision.Apr 11 2017, 8:37 AM
rnk added a reviewer: rsmith.Apr 11 2017, 5:44 PM

I think I'll go ahead and land this because it should fix the modules build.

This revision was automatically updated to reflect the committed changes.
cfe/trunk/lib/CodeGen/CodeGenModule.cpp