llvm/libcxx/test
Arthur Eubanks 0a77e63322 [libcxx] Add flag to disable __builtin_assume in _LIBCPP_ASSERT
Introduce _LIBCPP_ASSERTIONS_DISABLE_ASSUME which makes _LIBCPP_ASSERT
not call __builtin_assume when _LIBCPP_ENABLE_ASSERTIONS == 0.

Calling __builtin_assume was introduced in D122397.

__builtin_assume is generally supposed to improve optimizations, but can
cause regressions when LLVM has trouble handling the calls to
`llvm.assume()` (see comments in D122397).

Reviewed By: philnik

Differential Revision: https://reviews.llvm.org/D123175
2022-04-07 09:00:31 -07:00
..
configs [libcxx] [test] Stop defining LIBCXX-WINDOWS-FIXME 2022-04-06 22:54:39 +03:00
libcxx [libcxx] Add flag to disable __builtin_assume in _LIBCPP_ASSERT 2022-04-07 09:00:31 -07:00
std [libc++] Add back-deployment testing on arm64 macs 2022-04-07 10:15:40 -04:00
support [libc++] Add back-deployment testing on arm64 macs 2022-04-07 10:15:40 -04:00
CMakeLists.txt [libc++][libc++abi] Serialize the enable_assertions Lit parameter in the generated config 2022-03-29 08:17:25 -04:00
lit.cfg.py