[PATCH] D120123: [LegacyPassManager] Move structural hashing into Pass classes. NFC.

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 18 05:48:43 PST 2022


foad created this revision.
foad added reviewers: serge-sans-paille, piotr, nikic, jdoerfert.
Herald added subscribers: dexonsmith, hiraditya.
foad requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D120123

Files:
  llvm/include/llvm/Pass.h
  llvm/lib/Analysis/CallGraphSCCPass.cpp
  llvm/lib/Analysis/LoopPass.cpp
  llvm/lib/Analysis/RegionPass.cpp
  llvm/lib/IR/LegacyPassManager.cpp
  llvm/lib/IR/Pass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120123.409912.patch
Type: text/x-patch
Size: 6387 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220218/e7c6ce17/attachment.bin>


More information about the llvm-commits mailing list