[all-commits] [llvm/llvm-project] 61ec4c: [ADT] Mix the bit width into APInt's hash_value

Benjamin Kramer via All-commits all-commits at lists.llvm.org
Tue Apr 14 09:18:53 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 61ec4cdf6be9f05c65f9cc2e8a1d05320305e9fb
      https://github.com/llvm/llvm-project/commit/61ec4cdf6be9f05c65f9cc2e8a1d05320305e9fb
  Author: Benjamin Kramer <benny.kra at googlemail.com>
  Date:   2020-04-14 (Tue, 14 Apr 2020)

  Changed paths:
    M llvm/lib/Support/APInt.cpp

  Log Message:
  -----------
  [ADT] Mix the bit width into APInt's hash_value

Otherwise all zero values from i1 to i64 collide.




More information about the All-commits mailing list