[Mlir-commits] [mlir] [mlir][Transforms] `GreedyPatternRewriteDriver`: Check for out-of-scope IR modifications (PR #76219)

Matthias Springer llvmlistbot at llvm.org
Thu Jan 11 01:33:19 PST 2024


matthias-springer wrote:

> Can you clarify what this mean? Doesn't every pattern remove the op.

Something like:
```c++
rewriter.updateRootInPlace(op, [&](){ op->setAttr(...); });
```


https://github.com/llvm/llvm-project/pull/76219


More information about the Mlir-commits mailing list