diff --git a/mlir/lib/Dialect/Linalg/Utils/Utils.cpp b/mlir/lib/Dialect/Linalg/Utils/Utils.cpp --- a/mlir/lib/Dialect/Linalg/Utils/Utils.cpp +++ b/mlir/lib/Dialect/Linalg/Utils/Utils.cpp @@ -98,14 +98,16 @@ } template <> -GenericLoopNestRangeBuilder::GenericLoopNestRangeBuilder( - ArrayRef ivs, ArrayRef ranges) { +mlir::edsc::GenericLoopNestRangeBuilder< + loop::ForOp>::GenericLoopNestRangeBuilder(ArrayRef ivs, + ArrayRef ranges) { builder = std::make_unique(ivs, ranges); } template <> -GenericLoopNestRangeBuilder::GenericLoopNestRangeBuilder( - ArrayRef ivs, ArrayRef ranges) { +mlir::edsc::GenericLoopNestRangeBuilder< + AffineForOp>::GenericLoopNestRangeBuilder(ArrayRef ivs, + ArrayRef ranges) { SmallVector lbs; SmallVector ubs; SmallVector steps;