HomePhabricator

Revert r338455 "[constexpr] Support for constant evaluation of __builtin_memcpy…

Description

Revert r338455 "[constexpr] Support for constant evaluation of builtin_memcpy and builtin_memmove (in non-type-punning cases)."

It caused asserts during Chromium builds, see reply on the cfe-commits thread.

This is intended to permit libc++ to make std::copy etc constexpr
without sacrificing the optimization that uses memcpy on
trivially-copyable types.

builtin_strcpy and builtin_wcscpy are not handled by this change.
They'd be straightforward to add, but we haven't encountered a need for
them just yet.

Details

Committed
hansAug 1 2018, 10:51 AM
Parents
rL338601: [zorg] Add LLDB test bot lldb-x86_64-fedora-28-cmake
Branches
Unknown
Tags
Unknown