[all-commits] [llvm/llvm-project] bafc4d: [mlir] RewriterBase::Listener: Add notifyOperation...

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Feb 22 01:46:48 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bafc4dfc764587de577a354e459ea351b43fdb43
      https://github.com/llvm/llvm-project/commit/bafc4dfc764587de577a354e459ea351b43fdb43
  Author: Matthias Springer <springerm at google.com>
  Date:   2023-02-22 (Wed, 22 Feb 2023)

  Changed paths:
    M mlir/include/mlir/IR/PatternMatch.h
    M mlir/lib/IR/PatternMatch.cpp
    M mlir/lib/Transforms/Utils/DialectConversion.cpp
    M mlir/lib/Transforms/Utils/GreedyPatternRewriteDriver.cpp

  Log Message:
  -----------
  [mlir] RewriterBase::Listener: Add notifyOperationModified callback

This callback is triggered by `finalizeRootUpdate`. This allows listeners to listen for in-place op modifications without creating a new RewriterBase subclass.

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




More information about the All-commits mailing list