[all-commits] [llvm/llvm-project] 3a42b1: [IR] Add SturcturalHash printer pass

Aiden Grossman via All-commits all-commits at lists.llvm.org
Tue Aug 29 19:01:20 PDT 2023

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

  Changed paths:
    A llvm/include/llvm/Analysis/StructuralHash.h
    M llvm/lib/Analysis/CMakeLists.txt
    A llvm/lib/Analysis/StructuralHash.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    A llvm/test/Analysis/StructuralHash/structural-hash-detailed.ll
    A llvm/test/Analysis/StructuralHash/structural-hash-printer.ll

  Log Message:
  [IR] Add SturcturalHash printer pass

This patch adds in a StructuralHash printer pass that prints out the
hexadeicmal representation of the hash of a module and all of the
functions within it.

Reviewed By: aeubanks

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

More information about the All-commits mailing list