[llvm-commits] [PATCH] RFC: fix some problems in GeneralHash
Jay Foad
jay.foad at gmail.com
Fri Feb 24 01:36:52 PST 2012
The attached patch lets the compiler remove the part of
GeneralHash::addBytes which hashes the final 1 to 3 bytes, if it is
known that we're hashing an array of T where sizeof (T) is a multiple
of 4.
Thoughts?
Thanks,
Jay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hashing3.patch
Type: text/x-patch
Size: 1033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120224/2042cfb0/attachment.bin>
More information about the llvm-commits
mailing list