[mlir][NFC] Fully spell mlir typenames in BaseOpWithOffsetSizesAndStrides

Differential Revision: https://reviews.llvm.org/D116951
This commit is contained in:
Ivan Butygin 2022-01-10 17:52:41 +03:00
parent 9b5cf7267b
commit 08bc2eb1e0
1 changed files with 4 additions and 3 deletions

View File

@ -2470,13 +2470,14 @@ class BaseOpWithOffsetSizesAndStrides<Dialect dialect, string mnemonic,
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<Range, 8> 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);
}
}];
}