diff options
author | Hans Wennborg <hans@hanshq.net> | 2018-08-01 17:51:23 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2018-08-01 17:51:23 +0000 |
commit | 6bd4f924e738d3fc925d9d0f624f116a1ba5b210 (patch) | |
tree | 775f196d46d003aa94d93c95395b3df89a2420bd /clang/lib/Basic/TargetInfo.cpp | |
parent | e981ce04c31e7acddbd2b9558ad459ce552039d4 (diff) | |
download | bcm5719-llvm-6bd4f924e738d3fc925d9d0f624f116a1ba5b210.tar.gz bcm5719-llvm-6bd4f924e738d3fc925d9d0f624f116a1ba5b210.zip |
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.
llvm-svn: 338602
Diffstat (limited to 'clang/lib/Basic/TargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions