[libcxx-commits] [PATCH] D91349: [libc++] hash<long double>: adjust for x86-64 ILP32
Harald van Dijk via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Nov 29 05:52:55 PST 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rGfba0b65f7271: [libc++] hash<long double>: adjust for x86-64 ILP32 (authored by hvdijk).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D91349/new/
https://reviews.llvm.org/D91349
Files:
libcxx/include/utility
Index: libcxx/include/utility
===================================================================
--- libcxx/include/utility
+++ libcxx/include/utility
@@ -1506,7 +1506,7 @@
// -0.0 and 0.0 should return same hash
if (__v == 0.0L)
return 0;
-#if defined(__i386__)
+#if defined(__i386__) || (defined(__x86_64__) && defined(__ILP32__))
// Zero out padding bits
union
{
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91349.308210.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20201129/56b39871/attachment.bin>
More information about the libcxx-commits
mailing list