[all-commits] [llvm/llvm-project] e468c6: Fix canonicalizer to copy the entire GreedyRewrite...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Wed Aug 9 19:59:32 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e468c60c96e1af1945179c2ca80b7a9dfcd38398
      https://github.com/llvm/llvm-project/commit/e468c60c96e1af1945179c2ca80b7a9dfcd38398
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M mlir/include/mlir/IR/OpImplementation.h
    M mlir/lib/Transforms/Canonicalizer.cpp

  Log Message:
  -----------
  Fix canonicalizer to copy the entire GreedyRewriteConfig instead of selected fields

It is surprising for the user that only some fields were honored.

Also make the FrozenRewritePatternSet a shared_ptr<const T>.

Fixes #64543

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




More information about the All-commits mailing list