OSDN Git Service

Fix a silly restriction on the fast-path for hash_combine_range. This
authorChandler Carruth <chandlerc@gmail.com>
Fri, 9 Mar 2012 02:49:38 +0000 (02:49 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 9 Mar 2012 02:49:38 +0000 (02:49 +0000)
commit005874056e536324cba9fa253d7e14a6f9dcf4fa
treea5a96fa23fe4dcc3581081d3563fac3c8ce4d390
parente8187e02949571e8a610644762b843ef2891f011
Fix a silly restriction on the fast-path for hash_combine_range. This
caused several clients to select the slow variation. =[ This is extra
annoying because we don't have any realistic way of testing this -- by
design, these two functions *must* compute the same value.

Found while inspecting the output of some benchmarks I'm working on.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152369 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Hashing.h