[Mlir-commits] [mlir] 6e96de8 - [mlir][NFC] Fully spell mlir types names in LoopLikeOpInterface, so it can be used in ops defined outside mlir namespace
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Sun Apr 4 02:26:18 PDT 2021
Author: Butygin
Date: 2021-04-04T12:25:15+03:00
New Revision: 6e96de8abf272ee6c9b32b221149c2c04892b72a
URL: https://github.com/llvm/llvm-project/commit/6e96de8abf272ee6c9b32b221149c2c04892b72a
DIFF: https://github.com/llvm/llvm-project/commit/6e96de8abf272ee6c9b32b221149c2c04892b72a.diff
LOG: [mlir][NFC] Fully spell mlir types names in LoopLikeOpInterface, so it can be used in ops defined outside mlir namespace
Differential Revision: https://reviews.llvm.org/D99844
Added:
Modified:
mlir/include/mlir/Interfaces/LoopLikeInterface.td
Removed:
################################################################################
diff --git a/mlir/include/mlir/Interfaces/LoopLikeInterface.td b/mlir/include/mlir/Interfaces/LoopLikeInterface.td
index 0e4191b97f97..dfc86db3ff31 100644
--- a/mlir/include/mlir/Interfaces/LoopLikeInterface.td
+++ b/mlir/include/mlir/Interfaces/LoopLikeInterface.td
@@ -30,19 +30,19 @@ def LoopLikeOpInterface : OpInterface<"LoopLikeOpInterface"> {
explicit capture of dependencies, an implementation could check whether
the value corresponds to a captured dependency.
}],
- "bool", "isDefinedOutsideOfLoop", (ins "Value ":$value)
+ "bool", "isDefinedOutsideOfLoop", (ins "::mlir::Value ":$value)
>,
InterfaceMethod<[{
Returns the region that makes up the body of the loop and should be
inspected for loop-invariant operations.
}],
- "Region &", "getLoopBody"
+ "::mlir::Region &", "getLoopBody"
>,
InterfaceMethod<[{
Moves the given vector of operations out of the loop. The vector is
sorted topologically.
}],
- "LogicalResult", "moveOutOfLoop", (ins "ArrayRef<Operation *>":$ops)
+ "::mlir::LogicalResult", "moveOutOfLoop", (ins "::mlir::ArrayRef<::mlir::Operation *>":$ops)
>,
];
}
More information about the Mlir-commits
mailing list