[llvm] r175370 - Turn the enum attributes DenseSet in AttrBuilder into a set of bits.
Chandler Carruth
chandlerc at google.com
Sat Feb 16 14:24:43 PST 2013
On Sat, Feb 16, 2013 at 11:13 AM, Benjamin Kramer
<benny.kra at googlemail.com>wrote:
> Author: d0k
> Date: Sat Feb 16 13:13:18 2013
> New Revision: 175370
>
> URL: http://llvm.org/viewvc/llvm-project?rev=175370&view=rev
> Log:
> Turn the enum attributes DenseSet in AttrBuilder into a set of bits.
>
> Avoids malloc and is a lot denser. We lose iteration over target
> independent
> attributes, but that's a strange interface anyways and didn't have any
> users
> outside of AttrBuilder.
>
One of the goals was to remove the arbitrary upper limit of 64 -- could you
maybe use a BitVector so that we don't hit this later?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130216/f29550d6/attachment.html>
More information about the llvm-commits
mailing list