diff options
author | Serge Guelton <sguelton@redhat.com> | 2019-02-15 15:17:29 +0000 |
---|---|---|
committer | Serge Guelton <sguelton@redhat.com> | 2019-02-15 15:17:29 +0000 |
commit | fb4df68f48702377845a471fddcd1f67a3889ae4 (patch) | |
tree | 4b087a3decad0b6b49907075acb88a5ca3f800e3 /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | 5dfddff2424c836da0aa30225252d350a818468e (diff) | |
download | llvm-fb4df68f48702377845a471fddcd1f67a3889ae4.zip llvm-fb4df68f48702377845a471fddcd1f67a3889ae4.tar.gz llvm-fb4df68f48702377845a471fddcd1f67a3889ae4.tar.bz2 |
OptionalStorage implementation for trivial type, take III
This is another attempt at implementating optional storage
for trivially copyable type, using an union instead of a
raw buffer to hold the actual storage. This make it possible
to get rid of the reinterpret_cast, and hopefully to fix the UB
of the previous attempts.
This validates fine on my laptop for gcc 8.2 and gcc 4.8, I'll
revert if it breaks the validation.
llvm-svn: 354137
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions