[Mlir-commits] [mlir] [mlir][Transforms] ConversionPatternRewriter: Add `config` getter (PR #152310)

Matthias Springer llvmlistbot at llvm.org
Wed Aug 6 07:12:09 PDT 2025


matthias-springer wrote:

Here's an example where a pattern would check the `allowPatternRollback` flag and then use the rewriter API in a different way. (This is the only place in MLIR that I found so far. Such checks are only needed in edge cases.)

https://github.com/llvm/llvm-project/blob/main/mlir/lib/Dialect/SparseTensor/Transforms/SparseIterationToScf.cpp#L86


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


More information about the Mlir-commits mailing list