[all-commits] [llvm/llvm-project] cadd56: [mlir][NFC] GreedyPatternRewriteDriver: Remove OpP...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Jan 27 01:47:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cadd5666a6d669fa0507bd4f86e9570af4250869
      https://github.com/llvm/llvm-project/commit/cadd5666a6d669fa0507bd4f86e9570af4250869
  Author: Matthias Springer <springerm at google.com>
  Date:   2023-01-27 (Fri, 27 Jan 2023)

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

  Log Message:
  -----------
  [mlir][NFC] GreedyPatternRewriteDriver: Remove OpPatternRewriteDriver

The `MultiOpPatternRewriteDriver` can be reused. This gives us better debug messages and more code reuse. Debug messages such as `** Replace: (op name)` were previously not printed when using the `applyOpPatternsAndFold(Operation *, ...)` overload.

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




More information about the All-commits mailing list