[llvm-commits] [PATCH] RFC: fix some problems in GeneralHash

Chris Lattner clattner at apple.com
Fri Feb 24 16:36:32 PST 2012


On Feb 24, 2012, at 1:36 AM, Jay Foad wrote:

> 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.

Looks good to me.  

-Chris




More information about the llvm-commits mailing list