commit | b680aedb530a270e214aa9f5cb1d85dadf37bb83 | [log] [tgz] |
---|---|---|
author | Reid Kleckner <rnk@google.com> | Mon Apr 24 20:38:30 2017 +0000 |
committer | Reid Kleckner <rnk@google.com> | Mon Apr 24 20:38:30 2017 +0000 |
tree | 46f8c4781b67af23575fca6c832a14b57c99f77a | |
parent | d461dcfa0684db5251a7d3cae8d6cff3b45036d3 [diff] |
[Bitcode] Refactor attribute group writing to avoid getSlotAttributes Summary: That API creates a temporary AttributeList to carry an index and a single AttributeSet. We need to carry the index in addition to the set, because that is how attribute groups are currently encoded. NFC Reviewers: pcc Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32262 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301245 91177308-0d34-0410-b5e6-96231b3b80d8