Convert getAttributes() to return an AttributeSetNode.
authorBill Wendling <isanbard@gmail.com>
Tue, 29 Jan 2013 03:20:31 +0000 (03:20 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 29 Jan 2013 03:20:31 +0000 (03:20 +0000)
commit606c8e36dfdd28fc589356addd3e2cbb89a32e4d
tree5a62f95278b5433f40460890026320b96b2c0f8a
parent3a57c37964adfbbf83b4b309a2ceda43ba6d8231
Convert getAttributes() to return an AttributeSetNode.

The AttributeSetNode contains all of the attributes. This removes one (hopefully
last) use of the Attribute class as a container of multiple attributes.

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