[libcxx-commits] [PATCH] D153319: [libcxx] <experimental/simd> Added aliagned flag types, traits is_simd_flag_type[_v], memory_alignment[_v] and related tests
Nikolas Klauser via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jul 18 10:40:52 PDT 2023
philnik added a comment.
I think that should fix the tests.
================
Comment at: libcxx/include/__bit/bit_ceil.h:32
+ if (sizeof(_Tp) >= sizeof(unsigned))
+ return (_Tp){1} << __n;
else {
----------------
================
Comment at: libcxx/include/__bit/bit_ceil.h:43
+template <__libcpp_unsigned_integer _Tp>
+_LIBCPP_HIDE_FROM_ABI constexpr _Tp bit_ceil(_Tp __t) noexcept {
+ return std::__bit_ceil(__t);
----------------
You forgot `_LIBCPP_NODISCARD_EXT` here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153319/new/
https://reviews.llvm.org/D153319
More information about the libcxx-commits
mailing list