diff --git a/mlir/include/mlir/Reducer/ReductionTreePass.h b/mlir/include/mlir/Reducer/ReductionTreePass.h --- a/mlir/include/mlir/Reducer/ReductionTreePass.h +++ b/mlir/include/mlir/Reducer/ReductionTreePass.h @@ -47,7 +47,8 @@ ReductionTreePass(const Tester *test) : test(test) {} ReductionTreePass(const ReductionTreePass &pass) - : root(new ReductionNode(pass.root->getModule().clone(), nullptr)), + : ReductionTreeBase>(pass), + root(new ReductionNode(pass.root->getModule().clone(), nullptr)), test(pass.test) {} /// Runs the pass instance in the pass pipeline.