Make AttributeSet::getFnAttributes() return an AttributeSet instead of an Attribute.
authorBill Wendling <isanbard@gmail.com>
Mon, 21 Jan 2013 21:57:28 +0000 (21:57 +0000)
committerBill Wendling <isanbard@gmail.com>
Mon, 21 Jan 2013 21:57:28 +0000 (21:57 +0000)
commitc5f1bc88a2eb7ad9ff924ca90cf88494e5f947b9
treefdb62d85df750d2679b71fdab4d43d4e8258162b
parent8e528100d210e225cee417229d94af91355118c0
Make AttributeSet::getFnAttributes() return an AttributeSet instead of an Attribute.

This is more code to isolate the use of the Attribute class to that of just
holding one attribute instead of a collection of attributes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173094 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Attributes.h
lib/IR/AttributeImpl.h
lib/IR/Attributes.cpp
lib/Transforms/IPO/ArgumentPromotion.cpp
lib/Transforms/IPO/DeadArgumentElimination.cpp
lib/Transforms/InstCombine/InstCombineCalls.cpp