[all-commits] [llvm/llvm-project] 958f59: [MLIR] Make `resolveCallable` customizable in `Cal...

Henrich Lauko via All-commits all-commits at lists.llvm.org
Tue Sep 10 01:09:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 958f59d90fbc1cb2ae186246c8a64fec9e3ecd6e
      https://github.com/llvm/llvm-project/commit/958f59d90fbc1cb2ae186246c8a64fec9e3ecd6e
  Author: Henrich Lauko <xlauko at mail.muni.cz>
  Date:   2024-09-10 (Tue, 10 Sep 2024)

  Changed paths:
    M mlir/include/mlir/Interfaces/CallInterfaces.h
    M mlir/include/mlir/Interfaces/CallInterfaces.td
    M mlir/lib/Analysis/CallGraph.cpp
    M mlir/lib/Analysis/DataFlow/DeadCodeAnalysis.cpp
    M mlir/lib/Analysis/DataFlow/DenseAnalysis.cpp
    M mlir/lib/Analysis/DataFlow/SparseAnalysis.cpp
    M mlir/lib/Dialect/Bufferization/Transforms/OwnershipBasedBufferDeallocation.cpp
    M mlir/lib/Interfaces/CallInterfaces.cpp

  Log Message:
  -----------
  [MLIR] Make `resolveCallable` customizable in `CallOpInterface` (#100361)

Allow customization of the `resolveCallable` method in the
`CallOpInterface`. This change allows for operations implementing this
interface to provide their own logic for resolving callables.

- Introduce the `resolveCallable` method, which does not include the
optional symbol table parameter. This method replaces the previously
existing extra class declaration `resolveCallable`.

- Introduce the `resolveCallableInTable` method, which incorporates the
symbol table parameter. This method replaces the previous extra class
declaration `resolveCallable` that used the optional symbol table
parameter.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list