diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2019-08-24 15:02:44 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2019-08-24 15:02:44 +0000 |
commit | 16b322914a3fb153d0f9828db539eba6172b012d (patch) | |
tree | 901a9b1e284b9b55a4cad97ed81013f87b47bd4c /llvm/utils/TableGen/GlobalISelEmitter.cpp | |
parent | 19651b68d956e6e526203ecb94698691ca76ce61 (diff) | |
download | bcm5719-llvm-16b322914a3fb153d0f9828db539eba6172b012d.tar.gz bcm5719-llvm-16b322914a3fb153d0f9828db539eba6172b012d.zip |
Use a bit of relaxed constexpr to make FeatureBitset costant intializable
This requires std::intializer_list to be a literal type, which it is
starting with C++14. The downside is that std::bitset is still not
constexpr-friendly so this change contains a re-implementation of most
of it.
Shrinks clang by ~60k.
llvm-svn: 369847
Diffstat (limited to 'llvm/utils/TableGen/GlobalISelEmitter.cpp')
0 files changed, 0 insertions, 0 deletions