summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mlir/include/mlir/IR/op_base.td5
1 files changed, 5 insertions, 0 deletions
diff --git a/mlir/include/mlir/IR/op_base.td b/mlir/include/mlir/IR/op_base.td
index b3a4d992ede..369888052e3 100644
--- a/mlir/include/mlir/IR/op_base.td
+++ b/mlir/include/mlir/IR/op_base.td
@@ -19,6 +19,10 @@
//
//===----------------------------------------------------------------------===//
+#ifdef OP_BASE
+#else
+#define OP_BASE
+
//===----------------------------------------------------------------------===//
// Types.
//===----------------------------------------------------------------------===//
@@ -249,3 +253,4 @@ class Pattern<dag patternToMatch, list<dag> resultOps> {
// Form of a pattern which produces a single result.
class Pat<dag pattern, dag result> : Pattern<pattern, [result]>;
+#endif // OP_BASE
OpenPOWER on IntegriCloud