diff options
author | Matthias Braun <matze@braunis.de> | 2016-01-29 22:25:13 +0000 |
---|---|---|
committer | Matthias Braun <matze@braunis.de> | 2016-01-29 22:25:13 +0000 |
commit | 31eeb76f5e3b73f2eb5364ee840789c74723eb1b (patch) | |
tree | 0a670e07492b29a16677c741189589a143fc97b6 /llvm/lib/Transforms/Utils/SplitModule.cpp | |
parent | 5e378ddc1e0396e1296f934d8b1da7ce108d67b6 (diff) | |
download | llvm-31eeb76f5e3b73f2eb5364ee840789c74723eb1b.zip llvm-31eeb76f5e3b73f2eb5364ee840789c74723eb1b.tar.gz llvm-31eeb76f5e3b73f2eb5364ee840789c74723eb1b.tar.bz2 |
AttributeSetNode: Summarize existing attributes in a bitset.
The majority of queries just checks for the existince of an enum
attribute. We only have 48 of those and can summaryiz them in an
uint64_t bitfield so we can avoid searching the list. This improves
"opt" compile time by 1-4% in my measurements.
Differential Revision: http://reviews.llvm.org/D16617
llvm-svn: 259251
Diffstat (limited to 'llvm/lib/Transforms/Utils/SplitModule.cpp')
0 files changed, 0 insertions, 0 deletions