[libcxx-commits] [PATCH] D97211: [NFC][libc++] Fix _LIBCPP_HAS_BITSCAN64 usage.
Mark de Wever via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Feb 22 23:14:08 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc61e511f38c8: [NFC][libc++] Fix _LIBCPP_HAS_BITSCAN64 usage. (authored by Mordante).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D97211/new/
https://reviews.llvm.org/D97211
Files:
libcxx/include/__bits
Index: libcxx/include/__bits
===================================================================
--- libcxx/include/__bits
+++ libcxx/include/__bits
@@ -76,7 +76,6 @@
int __libcpp_ctz(unsigned long long __x) {
unsigned long __where;
#if defined(_LIBCPP_HAS_BITSCAN64)
- (defined(_M_AMD64) || defined(__x86_64__))
if (_BitScanForward64(&__where, __x))
return static_cast<int>(__where);
#else
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97211.325689.patch
Type: text/x-patch
Size: 410 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210223/e344effd/attachment.bin>
More information about the libcxx-commits
mailing list