HomePhabricator

Create Reduction Tree Pass

Authored by msifontes on Aug 7 2020, 4:17 PM.

Description

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

Details

Committed
msifontesAug 7 2020, 4:17 PM
Reviewer
jpienaar
Differential Revision
D83969: Create the Reduction Tree Pass
Parents
rGabb9bf4bcf98: Revert "[Clang] implement -fno-eliminate-unused-debug-types"
Branches
Unknown
Tags
Unknown