]> granicus.if.org Git - clang/commit
Replace HashString algorithm with xxHash64
authorRui Ueyama <ruiu@google.com>
Wed, 26 Apr 2017 22:45:04 +0000 (22:45 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 26 Apr 2017 22:45:04 +0000 (22:45 +0000)
commit3670d2ef78fea4d7d5701092648022a21b977c16
tree8c4770e9c6ecd92a5fb71cbd9639d7d0cc86607b
parentbf6842052af7c4bbd3ee86674ef5dba8796ac0ae
Replace HashString algorithm with xxHash64

The previous algorithm processed one character at a time, which is very
painful on a modern CPU. Replace it with xxHash64, which both already
exists in the codebase and is fairly fast.

Patch from Scott Smith!

Differential Revision: https://reviews.llvm.org/D32509

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@301487 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/target-features-error-2.c
test/CodeGen/target-features-error.c
test/SemaCXX/typo-correction-delayed.cpp
unittests/Tooling/CompilationDatabaseTest.cpp