Use the AttributeSet instead of AttributeWithIndex.
authorBill Wendling <isanbard@gmail.com>
Sun, 27 Jan 2013 01:57:28 +0000 (01:57 +0000)
committerBill Wendling <isanbard@gmail.com>
Sun, 27 Jan 2013 01:57:28 +0000 (01:57 +0000)
commit37a52df920e2b9c5eca9584fafc1038888bfdfee
treedd5b308f2c1ad2b5b7a328a2dbfa05ea147ccea7
parent6eaab61bb5b85922e3a0f027307e4e273d3c649d
Use the AttributeSet instead of AttributeWithIndex.

In the future, AttributeWithIndex won't be used anymore. Besides, it exposes the
internals of the AttributeSet to outside users, which isn't goodness.

llvm-svn: 173601
llvm/lib/Transforms/IPO/ArgumentPromotion.cpp