[PATCH] D158317: [IR] Add SturcturalHash printer pass

Arthur Eubanks via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 29 19:03:26 PDT 2023


aeubanks added inline comments.


================
Comment at: llvm/test/Analysis/StructuralHash/structural-hash-detailed.ll:11
+
+; CHECK: Module Hash: 81f1328ced269bd
+; CHECK: Function f1 Hash: 81f1328ced269bd
----------------
aeubanks wrote:
> add a comment about expecting the number to be stable across runs
actually I just had the idea that you can run it twice and diff the outputs to make sure they're the same, that's way more resistant to random changes


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158317/new/

https://reviews.llvm.org/D158317



More information about the llvm-commits mailing list