diff options
author | Mauricio Sifontes <sifontes@google.com> | 2020-08-07 23:17:27 +0000 |
---|---|---|
committer | Mauricio Sifontes <sifontes@google.com> | 2020-08-07 23:17:31 +0000 |
commit | 27d0e14da9b4676a9d97b06618af248aadc21594 (patch) | |
tree | 235b79dc4d62af7f3f36eb3a67e93f56f403e69e /llvm/lib/CodeGen/MachinePassManager.cpp | |
parent | abb9bf4bcf98a226d9350448e31411eb55e9efb0 (diff) | |
download | llvm-27d0e14da9b4676a9d97b06618af248aadc21594.zip llvm-27d0e14da9b4676a9d97b06618af248aadc21594.tar.gz llvm-27d0e14da9b4676a9d97b06618af248aadc21594.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/MachinePassManager.cpp')
0 files changed, 0 insertions, 0 deletions