diff options
author | Rui Ueyama <ruiu@google.com> | 2017-04-26 22:45:04 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-04-26 22:45:04 +0000 |
commit | 87b30ac9d369ff8b0d553e6d2070a4fa686c67bd (patch) | |
tree | b7229433f0047d5793dc45a7d903bf036d3375e3 /llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll | |
parent | 1b07d689c3180decabb4f267223db4fd1524cf37 (diff) | |
download | bcm5719-llvm-87b30ac9d369ff8b0d553e6d2070a4fa686c67bd.tar.gz bcm5719-llvm-87b30ac9d369ff8b0d553e6d2070a4fa686c67bd.zip |
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
llvm-svn: 301487
Diffstat (limited to 'llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll')
-rw-r--r-- | llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll b/llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll index 505477c8211..ff2e3425e7c 100644 --- a/llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll +++ b/llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll @@ -27,12 +27,12 @@ ; Check that all the names are present in the output ; CHECK: Hash = 0x00597841 -; CHECK: Name: {{[0-9a-f]*}} "is" ; CHECK: Name: {{[0-9a-f]*}} "k1" +; CHECK: Name: {{[0-9a-f]*}} "is" ; CHECK: Hash = 0xa4b42a1e -; CHECK: Name: {{[0-9a-f]*}} "_ZN5clang23DataRecursiveASTVisitorIN12_GLOBAL__N_124UnusedBackingIvarCheckerEE26TraverseCUDAKernelCallExprEPNS_18CUDAKernelCallExprE" ; CHECK: Name: {{[0-9a-f]*}} "_ZN4llvm16DenseMapIteratorIPNS_10MDLocationENS_6detail13DenseSetEmptyENS_10MDNodeInfoIS1_EENS3_12DenseSetPairIS2_EELb0EE23AdvancePastEmptyBucketsEv" +; CHECK: Name: {{[0-9a-f]*}} "_ZN5clang23DataRecursiveASTVisitorIN12_GLOBAL__N_124UnusedBackingIvarCheckerEE26TraverseCUDAKernelCallExprEPNS_18CUDAKernelCallExprE" ; CHECK: Hash = 0xeee7c0b2 ; CHECK: Name: {{[0-9a-f]*}} "_ZNK4llvm12LivePhysRegs5printERNS_11raw_ostreamE" |