[Mlir-commits] [mlir] [mlir][Transforms] Dialect conversion: Hardening `replaceOp` (PR #109540)

Markus Böck llvmlistbot at llvm.org
Mon Oct 28 03:13:51 PDT 2024


zero9178 wrote:

Trying to play devils advocate: How difficult would it be to support replacing unrealized casts as well? What about in the one-shot dialect conversion? Trying to think of this in terms of pattern rewrite API where in an ideal world the dialect conversion would not need any asterisks stating "well yes, it derives from`RewritePattern` and `RewriterBase` but its not an actual subtype as these specific things are not allowed". 

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


More information about the Mlir-commits mailing list