commit | 24ae8f8e5b96bd7825ccdee40de2b45c8db66341 | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Wed Jul 03 17:39:28 2013 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Wed Jul 03 17:39:28 2013 +0000 |
tree | 0a9a3125edfec396ffa5f6b546a6eb0496c8fc43 | |
parent | fb5511027bf55412aed2bdd944914729381264ef [diff] |
Matthew Dempsky: Attached patch replaces the type punning with memcpy(), which on x86/x86-64 clang optimizes to direct word accesses anyway. This fixes an unaligned word access in murmurhash/cityhash. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@185558 91177308-0d34-0410-b5e6-96231b3b80d8