HomePhabricator

[mlir] Add a utility method on CallOpInterface for resolving the callable.

Authored by rriddle on Feb 8 2020, 10:44 AM.

Description

[mlir] Add a utility method on CallOpInterface for resolving the callable.

Summary: This is the most common operation performed on a CallOpInterface. This just moves the existing functionality from the CallGraph so that other users can access it.

Differential Revision: https://reviews.llvm.org/D74250