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