diff options
| author | Reid Kleckner <rnk@google.com> | 2017-04-20 18:08:36 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2017-04-20 18:08:36 +0000 |
| commit | 62731e1c891c6decfc2bbe6fe868feee2eda6d83 (patch) | |
| tree | 69379cec7567a548646cc87c7d5deccbbf8bc6d2 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
| parent | ac3254aec50a20b497c5cda4147b625558687a5d (diff) | |
| download | bcm5719-llvm-62731e1c891c6decfc2bbe6fe868feee2eda6d83.tar.gz bcm5719-llvm-62731e1c891c6decfc2bbe6fe868feee2eda6d83.zip | |
Remove duplicate AttributeList::removeAttributes implementation
Have the AttributeList overload delegate to the AttrBuilder one.
Simplify the AttrBuilder overload by avoiding getSlotAttributes, which
creates temporary AttributeLists.
Simplify `AttrBuilder::removeAttributes(AttributeList, unsigned)` by
using getAttributes instead of manually iterating over slots.
Extracted from https://reviews.llvm.org/D32262
NFC
llvm-svn: 300863
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions

