[all-commits] [llvm/llvm-project] 6b0cef: Refactor the architecture of mlir-reduce

Jacques Pienaar via All-commits all-commits at lists.llvm.org
Wed Apr 14 13:41:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b0cef3e02eef277c60c95e4c1ca71f71091d8ae
      https://github.com/llvm/llvm-project/commit/6b0cef3e02eef277c60c95e4c1ca71f71091d8ae
  Author: Chia-hung Duan <chiahungduan at google.com>
  Date:   2021-04-14 (Wed, 14 Apr 2021)

  Changed paths:
    M mlir/include/mlir/Reducer/Passes/OpReducer.h
    M mlir/include/mlir/Reducer/ReductionNode.h
    M mlir/include/mlir/Reducer/ReductionTreePass.h
    R mlir/include/mlir/Reducer/ReductionTreeUtils.h
    M mlir/include/mlir/Reducer/Tester.h
    M mlir/lib/Reducer/CMakeLists.txt
    M mlir/lib/Reducer/Tester.cpp
    M mlir/tools/mlir-reduce/CMakeLists.txt
    M mlir/tools/mlir-reduce/OptReductionPass.cpp
    R mlir/tools/mlir-reduce/Passes/OpReducer.cpp
    M mlir/tools/mlir-reduce/ReductionNode.cpp
    A mlir/tools/mlir-reduce/ReductionTreePass.cpp
    R mlir/tools/mlir-reduce/ReductionTreeUtils.cpp
    M mlir/tools/mlir-reduce/mlir-reduce.cpp

  Log Message:
  -----------
  Refactor the architecture of mlir-reduce

Add iterator for ReductionNode traversal and use range to indicate the
region we would like to keep. Refactor the interaction between
Pass/Tester/ReductionNode.
Now it'll be easier to add new traversal type and OpReducer

Reviewed By: jpienaar, rriddle

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




More information about the All-commits mailing list