diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-01-22 18:21:08 +0000 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2023-01-22 18:21:08 +0000 |
commit | dd8ecde00b3b3d8d0f80d7df43393f583d782413 (patch) | |
tree | a3e7ba229799de0a881d39450ffe04c0150e544c /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | 51454e05112abf6345625f8fff620facd62f2d03 (diff) | |
download | llvm-dd8ecde00b3b3d8d0f80d7df43393f583d782413.zip llvm-dd8ecde00b3b3d8d0f80d7df43393f583d782413.tar.gz llvm-dd8ecde00b3b3d8d0f80d7df43393f583d782413.tar.bz2 |
[ADT] llvm::bit_cast - use __builtin_bit_cast if available
If the compiler supports __builtin_bit_cast we should try to use it instead of std::memcpy (and avoid including the cstring header).
Differential Revision: https://reviews.llvm.org/D142305
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions