[all-commits] [llvm/llvm-project] 69bc33: [mlir] Remove getNumberOfExecutions from RegionBra...

Eugene Zhulenev via All-commits all-commits at lists.llvm.org
Fri Jan 14 13:15:42 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69bc334be56997aff21a55149c987a5c20741f93
      https://github.com/llvm/llvm-project/commit/69bc334be56997aff21a55149c987a5c20741f93
  Author: Eugene Zhulenev <ezhulenev at google.com>
  Date:   2022-01-14 (Fri, 14 Jan 2022)

  Changed paths:
    R mlir/include/mlir/Analysis/NumberOfExecutions.h
    M mlir/include/mlir/Dialect/Async/IR/AsyncOps.td
    M mlir/include/mlir/Dialect/SCF/SCFOps.td
    M mlir/include/mlir/Interfaces/ControlFlowInterfaces.h
    M mlir/include/mlir/Interfaces/ControlFlowInterfaces.td
    M mlir/lib/Analysis/CMakeLists.txt
    R mlir/lib/Analysis/NumberOfExecutions.cpp
    M mlir/lib/Dialect/Async/IR/Async.cpp
    M mlir/lib/Dialect/SCF/SCF.cpp
    M mlir/lib/Interfaces/ControlFlowInterfaces.cpp
    R mlir/test/Analysis/test-number-of-block-executions.mlir
    R mlir/test/Analysis/test-number-of-operation-executions.mlir
    M mlir/test/lib/Analysis/CMakeLists.txt
    R mlir/test/lib/Analysis/TestNumberOfExecutions.cpp
    M mlir/tools/mlir-opt/mlir-opt.cpp
    M mlir/unittests/Dialect/CMakeLists.txt
    R mlir/unittests/Dialect/SCF/CMakeLists.txt
    R mlir/unittests/Dialect/SCF/SCFOps.cpp

  Log Message:
  -----------
  [mlir] Remove getNumberOfExecutions from RegionBranchOpInterface

`getNumRegionInvocations` was originally added for the async reference counting, but turned out to be not useful, and currently is not used anywhere (couldn't find any uses in public github repos). Removing dead code.

Reviewed By: Mogball, mehdi_amini

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




More information about the All-commits mailing list