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

Mehdi Amini via All-commits all-commits at lists.llvm.org
Tue Aug 22 20:38:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cd7af14cbc98e2af93c47ad48eba8f24a1791671
      https://github.com/llvm/llvm-project/commit/cd7af14cbc98e2af93c47ad48eba8f24a1791671
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2023-08-22 (Tue, 22 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