[all-commits] [llvm/llvm-project] 27d0e1: Create Reduction Tree Pass
Mauricio Sifontes via All-commits
all-commits at lists.llvm.org
Fri Aug 7 16:18:20 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 27d0e14da9b4676a9d97b06618af248aadc21594
https://github.com/llvm/llvm-project/commit/27d0e14da9b4676a9d97b06618af248aadc21594
Author: Mauricio Sifontes <sifontes at google.com>
Date: 2020-08-07 (Fri, 07 Aug 2020)
Changed paths:
M mlir/include/mlir/CMakeLists.txt
A mlir/include/mlir/Reducer/CMakeLists.txt
A mlir/include/mlir/Reducer/PassDetail.h
A mlir/include/mlir/Reducer/Passes.td
A mlir/include/mlir/Reducer/Passes/FunctionReducer.h
A mlir/include/mlir/Reducer/ReductionNode.h
A mlir/include/mlir/Reducer/ReductionTreePass.h
M mlir/include/mlir/Reducer/Tester.h
M mlir/lib/Reducer/Tester.cpp
A mlir/test/mlir-reduce/failure-test.sh
A mlir/test/mlir-reduce/reduction-tree-pass.mlir
M mlir/tools/mlir-reduce/CMakeLists.txt
A mlir/tools/mlir-reduce/Passes/FunctionReducer.cpp
A mlir/tools/mlir-reduce/ReductionNode.cpp
A mlir/tools/mlir-reduce/ReductionTreePass.cpp
M mlir/tools/mlir-reduce/mlir-reduce.cpp
Log Message:
-----------
Create Reduction Tree Pass
Implement the Reduction Tree Pass framework as part of the MLIR Reduce tool. This is a parametarizable pass that allows for the implementation of custom reductions passes in the tool.
Implement the FunctionReducer class as an example of a Reducer class parameter for the instantiation of a Reduction Tree Pass.
Create a pass pipeline with a Reduction Tree Pass with the FunctionReducer class specified as parameter.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D83969
More information about the All-commits
mailing list