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)
commitf2955aa3f20ab76162be2aa23512d8d175cbf34f
tree4d14291591208f37db3315480c352a326c2a4671
parent778138e960b9f0abfdc1ff6e65bbfcb497cdd12a
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.

llvm-svn: 173761
llvm/include/llvm/IR/Attributes.h
llvm/lib/IR/AttributeImpl.h
llvm/lib/IR/Attributes.cpp
llvm/test/Transforms/FunctionAttrs/atomic.ll
llvm/test/Transforms/Inline/inline_ssp.ll