diff options
| author | Rui Ueyama <ruiu@google.com> | 2018-02-28 17:32:50 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2018-02-28 17:32:50 +0000 |
| commit | ba16baccf1ce8851220fdedbab6653a0d1a4bb80 (patch) | |
| tree | a4a7deb54f002add85b2590974372d959c89ac1d /llvm/test/CodeGen/ARM/2009-05-07-RegAllocLocal.ll | |
| parent | 280f872bb23dcfdf312ae914a10e9079b4f1b670 (diff) | |
| download | bcm5719-llvm-ba16baccf1ce8851220fdedbab6653a0d1a4bb80.tar.gz bcm5719-llvm-ba16baccf1ce8851220fdedbab6653a0d1a4bb80.zip | |
[WebAssembly] Improve WasmSignatureDenseMapInfo.
Let X and Y be types. Previously, functions F(X, Y) and G(Y, X) had
the same hash value because their hash values are computed as follows:
hash(F) = hash(X) + hash(Y)
hash(G) = hash(Y) + hash(X)
This patch fixes the issue by using hash_combine.
Differential Revision: https://reviews.llvm.org/D43856
llvm-svn: 326336
Diffstat (limited to 'llvm/test/CodeGen/ARM/2009-05-07-RegAllocLocal.ll')
0 files changed, 0 insertions, 0 deletions

