[all-commits] [llvm/llvm-project] d944ca: [IR] Make detailed structural hash test look at diffs

Aiden Grossman via All-commits all-commits at lists.llvm.org
Wed Aug 30 10:32:17 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d944cab731f1077d8e800fb7c1a91e6fb6b3bb14
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M llvm/test/Analysis/StructuralHash/structural-hash-detailed.ll

  Log Message:
  [IR] Make detailed structural hash test look at diffs

This patch makes structural-hash-detailed.ll look at diffs rather than
specific values to make the test more robust against the underlying
hashing implementation while still testing that the hash value is
deterministic across multiple runs.

Reviewed By: aeubanks

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

More information about the All-commits mailing list