[mlir][func] Guard for unranked memref with the bare ptr memref call
Lowering the call op with use-bare-ptr-memref-call crashes due to the unsupported unranked memref type. We can prevent the crash by checking the type of operand in the pass instead of the assertion in the type converter. Issue: https://github.com/llvm/llvm-project/issues/61872 Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D148078
Loading
Please sign in to comment