[mlir] Check FunctionOpInterface castable type
As convertFuncOpTypes does not support other FuncOpInterface types, we should check the type to avoid assertion failure. The original issue was reported https://github.com/llvm/llvm-project/issues/61858. Reviewed By: mehdi_amini Differential Revision: https://reviews.llvm.org/D148873
Loading
Please sign in to comment