Remove the AttrBuilder form of the Attribute::get creators.
authorBill Wendling <isanbard@gmail.com>
Thu, 31 Jan 2013 23:16:25 +0000 (23:16 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 31 Jan 2013 23:16:25 +0000 (23:16 +0000)
commit169d5270751597aed4095ead00401a3374906147
tree7eca2760854ffdd8e7f398981cb756e2a3908b10
parent68cbd91f97b4f963971c941405227fe943e376ac
Remove the AttrBuilder form of the Attribute::get creators.

The AttrBuilder is for building a collection of attributes. The Attribute object
holds only one attribute. So it's not really useful for the Attribute object to
have a creator which takes an AttrBuilder.

This has two fallouts:

1. The AttrBuilder no longer holds its internal attributes in a bit-mask form.
2. The attributes are now ordered alphabetically (hence why the tests have changed).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174110 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Attributes.h
lib/IR/AttributeImpl.h
lib/IR/Attributes.cpp
test/Transforms/Inline/inline_ssp.ll
test/Transforms/MemCpyOpt/memcpy.ll