[mlir] Support null interface to base conversion (#65988)
The current implicit conversion operator from an interface to a "base interface" of the interface unconditionally calls `this->getImpl()` which leads to accessing a null pointer if the interface instance is a null instance. This PR changes the ODS generated interface instance to explicitly check and then return a null interface instance if the `this` instance is a null instance.
Loading
Please sign in to comment