diff --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td --- a/mlir/include/mlir/IR/OpBase.td +++ b/mlir/include/mlir/IR/OpBase.td @@ -2470,13 +2470,14 @@ code extraBaseClassDeclaration = [{ /// Returns the dynamic sizes for this subview operation if specified. - operand_range getDynamicSizes() { return sizes(); } + ::mlir::Operation::operand_range getDynamicSizes() { return sizes(); } /// Return the list of Range (i.e. offset, size, stride). Each /// Range entry contains either the dynamic value or a ConstantIndexOp /// constructed with `b` at location `loc`. - SmallVector getOrCreateRanges(OpBuilder &b, Location loc) { - return mlir::getOrCreateRanges(*this, b, loc); + ::mlir::SmallVector<::mlir::Range, 8> getOrCreateRanges( + ::mlir::OpBuilder &b, ::mlir::Location loc) { + return ::mlir::getOrCreateRanges(*this, b, loc); } }]; }