[Mlir-commits] [mlir] [mlir] Convert TensorType and BaseMemRefType to interfaces (PR #133053)

Mehdi Amini llvmlistbot at llvm.org
Wed Mar 26 05:06:25 PDT 2025


joker-eph wrote:

> It always felt a bit odd that class TensorType and class BaseMemRefType were defined in C++ instead of Tablegen. We didn't have interface inheritance from the beginning, maybe that's the reason why it was designed like that.

We didn't have ODS for types at the beginning, we didn't even have Type Interfaces either... Everything was C++!

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


More information about the Mlir-commits mailing list