“error: ‘func.call’ op requires attribute ‘callee’” will be arised when the ‘func.call’ op is used for indirect call, while the ‘llvm.call’ op is normal.
There is a separate op for indirect calls - 'func' Dialect - MLIR.
my mistake. i make llvm.ptr used for indirect call