aboutsummaryrefslogtreecommitdiffstats
path: root/include/Standalone/StandaloneOps.td
diff options
context:
space:
mode:
Diffstat (limited to 'include/Standalone/StandaloneOps.td')
-rw-r--r--include/Standalone/StandaloneOps.td5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/Standalone/StandaloneOps.td b/include/Standalone/StandaloneOps.td
index f6ba7a6..1098dc5 100644
--- a/include/Standalone/StandaloneOps.td
+++ b/include/Standalone/StandaloneOps.td
@@ -9,7 +9,8 @@
#ifndef STANDALONE_OPS
#define STANDALONE_OPS
-include "StandaloneDialect.td"
+include "Standalone/StandaloneDialect.td"
+include "mlir/Interfaces/InferTypeOpInterface.td"
include "mlir/Interfaces/SideEffectInterfaces.td"
def Standalone_FooOp : Standalone_Op<"foo", [NoSideEffect,
@@ -25,7 +26,7 @@ def Standalone_FooOp : Standalone_Op<"foo", [NoSideEffect,
Example:
```mlir
- %0 = constant 2 : i32
+ %0 = arith.constant 2 : i32
// Apply the foo operation to %0
%1 = standalone.foo %0 : i32
```