[all-commits] [llvm/llvm-project] 42ac4f: [mlir] Canonicalizer constructor should accept dis...

Jeff Niu via All-commits all-commits at lists.llvm.org
Wed Dec 22 11:08:45 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 42ac4f3dc6e673e44fa9fcbb40d4200be2d1e2c1
      https://github.com/llvm/llvm-project/commit/42ac4f3dc6e673e44fa9fcbb40d4200be2d1e2c1
  Author: Mogball <jeffniu22 at gmail.com>
  Date:   2021-12-22 (Wed, 22 Dec 2021)

  Changed paths:
    M mlir/include/mlir/Rewrite/FrozenRewritePatternSet.h
    M mlir/include/mlir/Transforms/Passes.h
    M mlir/lib/Transforms/Canonicalizer.cpp

  Log Message:
  -----------
  [mlir] Canonicalizer constructor should accept disabled/enabled patterns

There is no way to programmatically configure the list of disabled and enabled patterns in the canonicalizer pass, other than the duplicate the whole pass. This patch exposes the `disabledPatterns` and `enabledPatterns` options.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list