[all-commits] [llvm/llvm-project] b0f7f6: [mlir] Remove uses of LLVM's legacy pass manager

aeubanks via All-commits all-commits at lists.llvm.org
Mon Apr 11 16:19:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b0f7f6f78d050cc89b31c87fb48744989145af60
      https://github.com/llvm/llvm-project/commit/b0f7f6f78d050cc89b31c87fb48744989145af60
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2022-04-11 (Mon, 11 Apr 2022)

  Changed paths:
    M mlir/include/mlir/ExecutionEngine/OptUtils.h
    M mlir/lib/CAPI/ExecutionEngine/ExecutionEngine.cpp
    M mlir/lib/ExecutionEngine/CMakeLists.txt
    M mlir/lib/ExecutionEngine/JitRunner.cpp
    M mlir/lib/ExecutionEngine/OptUtils.cpp
    M mlir/tools/mlir-cpu-runner/mlir-cpu-runner.cpp
    M mlir/tools/mlir-spirv-cpu-runner/mlir-spirv-cpu-runner.cpp
    M mlir/tools/mlir-vulkan-runner/mlir-vulkan-runner.cpp

  Log Message:
  -----------
  [mlir] Remove uses of LLVM's legacy pass manager

Use the new pass manager.

This also removes the ability to run arbitrary sets of passes. Not sure if this functionality is used, but it doesn't seem to be tested.

No need to initialize passes outside of constructing the PassBuilder with the new pass manager.

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list