[all-commits] [llvm/llvm-project] b47e2d: [StableHashing] Hash machine basic blocks and func...

Jay Foad via All-commits all-commits at lists.llvm.org
Tue Feb 22 09:41:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b47e2dc91f62c6d32875a9252e520e72a55f2cc3
      https://github.com/llvm/llvm-project/commit/b47e2dc91f62c6d32875a9252e520e72a55f2cc3
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2022-02-22 (Tue, 22 Feb 2022)

  Changed paths:
    M llvm/include/llvm/CodeGen/MachineStableHash.h
    M llvm/lib/CodeGen/MachineStableHash.cpp

  Log Message:
  -----------
  [StableHashing] Hash machine basic blocks and functions

This adds very basic support for hashing MachineBasicBlock
and MachineFunction, for use in MachineFunctionPass to
detect passes that modify the MachineFunction wrongly.

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




More information about the All-commits mailing list