[Mlir-commits] [mlir] 08bc2eb - [mlir][NFC] Fully spell mlir typenames in BaseOpWithOffsetSizesAndStrides

Ivan Butygin llvmlistbot at llvm.org
Mon Jan 10 10:22:49 PST 2022


Author: Ivan Butygin
Date: 2022-01-10T21:22:07+03:00
New Revision: 08bc2eb1e049a64b5d0e6069810b477e3457f66a

URL: https://github.com/llvm/llvm-project/commit/08bc2eb1e049a64b5d0e6069810b477e3457f66a
DIFF: https://github.com/llvm/llvm-project/commit/08bc2eb1e049a64b5d0e6069810b477e3457f66a.diff

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

Differential Revision: https://reviews.llvm.org/D116951

Added: 
    

Modified: 
    mlir/include/mlir/IR/OpBase.td

Removed: 
    


################################################################################
diff  --git a/mlir/include/mlir/IR/OpBase.td b/mlir/include/mlir/IR/OpBase.td
index 8e70f48440089..479e6e18f2b1b 100644
--- a/mlir/include/mlir/IR/OpBase.td
+++ b/mlir/include/mlir/IR/OpBase.td
@@ -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);
     }
   }];
 }


        


More information about the Mlir-commits mailing list