hockyy wrote: https://github.com/llvm/llvm-project/blob/main/mlir/docs/DialectConversion.md?plain=1#L278 ^ Based on this DialectConversion.md, we can change the rollback mode and priorities too for these modifying operations. https://github.com/llvm/llvm-project/pull/187992