[NFC] Cleanup AttributeList::getStackAlignment()
authorArthur Eubanks <aeubanks@google.com>
Thu, 19 Aug 2021 21:20:59 +0000 (14:20 -0700)
committerArthur Eubanks <aeubanks@google.com>
Thu, 19 Aug 2021 21:21:40 +0000 (14:21 -0700)
commit7c8206cd2ad62cd65a1267e974fd9d49d5ff01a6
tree90f437fd7e2d0b4b751767dcfb3ced76dec3a2e1
parentcd28003336c7ada59f889cb92ee121d508e076d6
[NFC] Cleanup AttributeList::getStackAlignment()

So that we don't use a confusing index.
llvm/include/llvm/IR/Attributes.h
llvm/include/llvm/IR/Function.h
llvm/lib/IR/Attributes.cpp
llvm/unittests/IR/AttributesTest.cpp