[all-commits] [llvm/llvm-project] 07548b: [PatternRewriter] Disable copy/assign operators.

Chris Lattner via All-commits all-commits at lists.llvm.org
Mon Aug 2 10:26:47 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07548b83247e5c266e209ac4cdc2ab7a3231155d
      https://github.com/llvm/llvm-project/commit/07548b83247e5c266e209ac4cdc2ab7a3231155d
  Author: Chris Lattner <clattner at nondot.org>
  Date:   2021-08-02 (Mon, 02 Aug 2021)

  Changed paths:
    M mlir/include/mlir/IR/PatternMatch.h

  Log Message:
  -----------
  [PatternRewriter] Disable copy/assign operators.

We had a [bad bug](https://github.com/llvm/circt/commit/69655864ee38167016506e9dae2eb1eb43dc3ba5) over in CIRCT
caused by accidentally passing around PatternRewriter
by value.  There is no reason to support copy/assignment
of the pattern rewriter, so disable it.

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




More information about the All-commits mailing list