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)
commitb2484b4332ffe385421e338de21372ea8a9dc5cf
treed8fb0164f7c1a9eb92f956cf220b080d182d64cc
parentd04b2d45d97312475867d9f20724701267738240
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173601 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/ArgumentPromotion.cpp