[libc++] hash<long double>: adjust for x86-64 ILP32
authorHarald van Dijk <harald@gigawatt.nl>
Sun, 29 Nov 2020 13:52:28 +0000 (13:52 +0000)
committerHarald van Dijk <harald@gigawatt.nl>
Sun, 29 Nov 2020 13:52:28 +0000 (13:52 +0000)
commitfba0b65f727134e8d05c785b04b7b574f852d49e
tree29dde5bdb63a714da51c40d64f3c78438728f8f1
parentd99da80841cb4d9734db4a48cd49e37b623176bc
[libc++] hash<long double>: adjust for x86-64 ILP32

x86-64 ILP32 mode (x32) uses 32-bit size_t, so share the code with ix86 to zero out padding bits, not with x86-64 LP64 mode.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D91349
libcxx/include/utility