projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1803599
)
[NFC][libc++] Fix _LIBCPP_HAS_BITSCAN64 usage.
author
Mark de Wever
<koraq@xs4all.nl>
Mon, 22 Feb 2021 19:31:47 +0000
(20:31 +0100)
committer
Mark de Wever
<koraq@xs4all.nl>
Tue, 23 Feb 2021 07:13:49 +0000
(08:13 +0100)
Seems line was accidentally left in
llvm-svn: 290924
86eebc5b658b5c2ccf2f4fbc16e8aee9880919a5
Reviewed By: #libc, ldionne
Differential Revision: https://reviews.llvm.org/D97211
libcxx/include/__bits
patch
|
blob
|
history
diff --git
a/libcxx/include/__bits
b/libcxx/include/__bits
index
0d321da
..
c23203b
100644
(file)
--- a/
libcxx/include/__bits
+++ b/
libcxx/include/__bits
@@
-76,7
+76,6
@@
inline _LIBCPP_INLINE_VISIBILITY
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