Switch this code to use hash_combine_range rather than incremental calls
authorChandler Carruth <chandlerc@gmail.com>
Wed, 7 Mar 2012 03:22:32 +0000 (03:22 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 7 Mar 2012 03:22:32 +0000 (03:22 +0000)
commiteea81f32cdd2f0408aaf83878cf45b5024cf6b57
treef0a93dda31c2d090783aaa15b7647333919a3f79
parentf8cde7388eb96c59992bc4798ec9fca41ea1a13c
Switch this code to use hash_combine_range rather than incremental calls
to hash_combine. One of the interfaces could already do this, and the
other can just use a small buffer. This is a much more efficient way to
use the hash_combine interface, although I don't have any particular
benchmark where this code was hot, so I can't measure much of an impact.
It at least doesn't slow anything down.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@152200 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/ConstantsContext.h