Turn the enum attributes DenseSet in AttrBuilder into a set of bits.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 16 Feb 2013 19:13:18 +0000 (19:13 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 16 Feb 2013 19:13:18 +0000 (19:13 +0000)
commitc835b8c30127d15599de2d614434d39a6cc3ae17
treec80f1349430324a1ec02ae695c69fded434315ab
parent2de893210b0d4178edb4e3f2a965d57e97410341
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175370 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Attributes.h
lib/IR/Attributes.cpp