[Mlir-commits] [mlir] [MLIR] Make `resolveCallable` customizable in `CallOpInterface` (PR #100361)
Henrich Lauko
llvmlistbot at llvm.org
Fri Aug 22 09:06:59 PDT 2025
xlauko wrote:
@joker-eph this is same API as there was before the only change that happened was that `resolveCallable` has changed from extra class method to interface method. `resolveCallable` already took optional SymbolTable parameter, I kept that behavior, but since interface methods do not allow default values and overloading it was split to two methods, one with and one without the symbol table parameter.
The main motivation for this as written in PR description was to be able to customize call resolution. We had internal usecases with custom SymbolTable implementation, that allowed C++ namespace-like symbol lookup, but to be used with `CallOpInterface` we needed to customize the resolution.
https://github.com/llvm/llvm-project/pull/100361
More information about the Mlir-commits
mailing list