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)
commit60011b8e2703e1bed7add86d00c00edcb5047527
treeac27b231f3b84fe528368a36565343c7f7657a3a
parent9a629abf3d9211aaaf96f66b7bf6f2fe99414bc3
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).

llvm-svn: 173750
llvm/include/llvm/IR/Attributes.h
llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/IR/Attributes.cpp