[all-commits] [llvm/llvm-project] e195e6: [mlir] GreedyPatternRewriteDriver: Enqueue ancesto...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e195e6bad6706230a4b5fd4b5cc13de1f16f25cc
      https://github.com/llvm/llvm-project/commit/e195e6bad6706230a4b5fd4b5cc13de1f16f25cc
  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] GreedyPatternRewriteDriver: Enqueue ancestors in MultiOpPatternRewriteDriver

The `GreedyPatternRewriteDriver` was extended to enqueue ancestors in D140304. With this change, `MultiOpPatternRewriteDriver` behaves the same way.

Note: `MultiOpPatternRewriteDriver` now also has a scope that limits how far we go when checking ancestors. By default, this is the first common region of all given ops.

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




More information about the All-commits mailing list