[PATCH] D158250: [IR] Add more details to StructuralHash

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 21 13:30:01 PDT 2023


jdoerfert added a comment.

FWIW, I think more details, even if not perfect, seems reasonable. We will experiment with this and come back to it as needed.



================
Comment at: llvm/lib/IR/StructuralHash.cpp:76
         hash(Inst.getOpcode());
+        if (DetailedHash) {
+          hash(Inst.getType());
----------------
early exit, plz.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158250



More information about the llvm-commits mailing list