[llvm-branch-commits] [mlir] [mlir][Transforms] Dialect conversion: Add flag to disable rollback (PR #136490)

Matthias Springer via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 21 08:02:09 PDT 2025


matthias-springer wrote:

> So this would also allow folks to prefetch the future state? E.g., used to test for failures when rollback no longer supported?

Yes, that's correct. The simplest way to do that is to change the default value of the new `allowPatternRollback` flag to `false` in `DialectConversion.h`. Alternatively, the flag can also be set to `false` on a case-by-case basis in each pass.


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


More information about the llvm-branch-commits mailing list