[Mlir-commits] [mlir] [mlir][Transforms] Dialect conversion: Context-aware type conversions (PR #140434)

Matthias Springer llvmlistbot at llvm.org
Sat May 17 23:18:48 PDT 2025


matthias-springer wrote:

If the function has a body (non-external), the context-aware type converter can be called for the block arguments of the entry block. (The lowering pattern does not do this yet. There are a bunch of patterns that must be updated in follow-up commits.)

If the function does not have a body (external), this commit does not help. What would work: writing a separate conversion pattern for function ops that contains your custom type conversion logic instead of calling the type converter API.


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


More information about the Mlir-commits mailing list