Use an AttrBuilder to generate the correct AttributeSet.
authorBill Wendling <isanbard@gmail.com>
Tue, 29 Jan 2013 01:43:29 +0000 (01:43 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 29 Jan 2013 01:43:29 +0000 (01:43 +0000)
commit8232ece5c1e57efe54342fb35610497d50bf894f
tree0b4d9d6fe602f90af2b756e15d2274ba7b89fb51
parent8fbc0c296ef067150f3228e389ae04cf7b3b1992
Use an AttrBuilder to generate the correct AttributeSet.

We no longer accept an encoded integer as representing all of the
attributes. Convert this via the AttrBuilder class into an AttributeSet with the
correct representation (an AttributeSetImpl that holds a list of Attribute
objects).

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