[all-commits] [llvm/llvm-project] 7889ff: [mlir] Finish removing FunctionPass

River Riddle via All-commits all-commits at lists.llvm.org
Mon Feb 7 19:40:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7889ff7f0008500710fd84838b66d5022c7acb2a
      https://github.com/llvm/llvm-project/commit/7889ff7f0008500710fd84838b66d5022c7acb2a
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-02-07 (Mon, 07 Feb 2022)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/Utils/Utils.h
    M mlir/include/mlir/Pass/Pass.h
    M mlir/include/mlir/Pass/PassBase.td

  Log Message:
  -----------
  [mlir] Finish removing FunctionPass

FunctionPass has been deprecated in favor of OperationPass<FuncOp>
for a few weeks, and this commit finished the deprecation with deletion.
The only difference between the two is that FunctionPass filters out function
declarations. When updating references to FunctionPass, ensure that
the pass either can handle declarations or explicitly add in filtering.

See https://llvm.discourse.group/t/functionpass-deprecated-in-favor-of-operationpass-funcop

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




More information about the All-commits mailing list