[all-commits] [llvm/llvm-project] a3a459: [LegacyPassManager] Move structural hashing into P...

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Mar 17 02:51:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3a459185674165585adafb3188a8f6ae09a028f
      https://github.com/llvm/llvm-project/commit/a3a459185674165585adafb3188a8f6ae09a028f
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M llvm/include/llvm/Pass.h
    M llvm/lib/Analysis/CallGraphSCCPass.cpp
    M llvm/lib/Analysis/LoopPass.cpp
    M llvm/lib/Analysis/RegionPass.cpp
    M llvm/lib/IR/LegacyPassManager.cpp
    M llvm/lib/IR/Pass.cpp

  Log Message:
  -----------
  [LegacyPassManager] Move structural hashing into Pass classes. NFC.

Move structural hashing into virtual methods on Pass. This will
allow MachineFunctionPass to override the method to add hashing of
the MachineFunction.

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




More information about the All-commits mailing list