diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2018-01-18 11:26:24 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2018-01-18 11:26:24 +0000 |
commit | c806d39182c1aa6c647d044d19d58aad9f5c95df (patch) | |
tree | 10d1bc2ac6c65fe8cef5f8e00eeab781e04b6cfe /llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp | |
parent | 878469cd829757a27fbdca8bc7ce1ca3a8cbd29e (diff) | |
download | bcm5719-llvm-c806d39182c1aa6c647d044d19d58aad9f5c95df.tar.gz bcm5719-llvm-c806d39182c1aa6c647d044d19d58aad9f5c95df.zip |
[ADT] Split optional to only include copy mechanics and dtor for non-trivial types.
This makes uses of Optional more transparent to the compiler (and
clang-tidy) and generates slightly smaller code.
This is a re-land of r317019, which had issues with GCC 4.8 back then.
Those issues don't reproduce anymore, but I'll watch the buildbots
closely in case anything goes wrong.
llvm-svn: 322838
Diffstat (limited to 'llvm/lib/Target/RISCV/RISCVRegisterInfo.cpp')
0 files changed, 0 insertions, 0 deletions