[all-commits] [llvm/llvm-project] d8d092: [mlir][EmitC] Fix invalid rewriter API usage (#76124)

Matthias Springer via All-commits all-commits at lists.llvm.org
Wed Dec 20 23:00:31 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d8d09296ed8139c6c91ed7e467764ce7375f6667
      https://github.com/llvm/llvm-project/commit/d8d09296ed8139c6c91ed7e467764ce7375f6667
  Author: Matthias Springer <me at m-sp.org>
  Date:   2023-12-21 (Thu, 21 Dec 2023)

  Changed paths:
    M mlir/lib/Dialect/EmitC/Transforms/Transforms.cpp

  Log Message:
  -----------
  [mlir][EmitC] Fix invalid rewriter API usage (#76124)

When operations are modified in-place, the rewriter must be notified.
This commit fixes `mlir/test/Dialect/EmitC/transforms.mlir` when running
with `MLIR_ENABLE_EXPENSIVE_PATTERN_API_CHECKS` enabled.




More information about the All-commits mailing list