diff options
Diffstat (limited to 'mlir/lib/Reducer/ReductionTreePass.cpp')
-rw-r--r-- | mlir/lib/Reducer/ReductionTreePass.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mlir/lib/Reducer/ReductionTreePass.cpp b/mlir/lib/Reducer/ReductionTreePass.cpp index 05f0f749166e..152c8fb2d57f 100644 --- a/mlir/lib/Reducer/ReductionTreePass.cpp +++ b/mlir/lib/Reducer/ReductionTreePass.cpp @@ -16,7 +16,6 @@ #include "mlir/IR/DialectInterface.h" #include "mlir/IR/OpDefinition.h" -#include "mlir/Reducer/PassDetail.h" #include "mlir/Reducer/Passes.h" #include "mlir/Reducer/ReductionNode.h" #include "mlir/Reducer/ReductionPatternInterface.h" @@ -29,6 +28,11 @@ #include "llvm/Support/Allocator.h" #include "llvm/Support/ManagedStatic.h" +namespace mlir { +#define GEN_PASS_DEF_REDUCTIONTREE +#include "mlir/Reducer/Passes.h.inc" +} // namespace mlir + using namespace mlir; /// We implicitly number each operation in the region and if an operation's @@ -183,7 +187,7 @@ public: /// This class defines the Reduction Tree Pass. It provides a framework to /// to implement a reduction pass using a tree structure to keep track of the /// generated reduced variants. -class ReductionTreePass : public ReductionTreeBase<ReductionTreePass> { +class ReductionTreePass : public impl::ReductionTreeBase<ReductionTreePass> { public: ReductionTreePass() = default; ReductionTreePass(const ReductionTreePass &pass) = default; |