[all-commits] [llvm/llvm-project] a32846: Refactor the architecture of mlir-reduce
Jacques Pienaar via All-commits
all-commits at lists.llvm.org
Wed Apr 14 10:17:06 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a32846b1d0147f30f6dde4bfec453cd681937005
https://github.com/llvm/llvm-project/commit/a32846b1d0147f30f6dde4bfec453cd681937005
Author: Jacques Pienaar <jpienaar 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/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