[Mlir-commits] [mlir] [mlir][builtin] Make `unrealized_conversion_cast` inlineable (PR #139722)

Jeremy Kun llvmlistbot at llvm.org
Tue May 13 08:45:56 PDT 2025


j2kun wrote:

This also makes `builtin.module` inlineable, which is a weird thing to say, but, for example, the following IR verifies and presumably would also be inlined by this change.

```mlir
module {
  func.func @foo() {
    builtin.module {
      func.func @bar() {
        return
      }
    }
    return
  }
  func.func @caller() {
    call @foo() : () -> ()
    return
  }
}
```

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


More information about the Mlir-commits mailing list