[mlir][async] Add AutomaticAllocationScope to async::ExecuteOp
authorNicolas Vasilache <ntv@google.com>
Wed, 2 Feb 2022 10:01:42 +0000 (05:01 -0500)
committerNicolas Vasilache <ntv@google.com>
Wed, 2 Feb 2022 10:15:23 +0000 (05:15 -0500)
Differential Revision: https://reviews.llvm.org/D118761

mlir/include/mlir/Dialect/Async/IR/AsyncOps.td

index 5a7ec4e..11a2714 100644 (file)
@@ -31,7 +31,8 @@ def Async_ExecuteOp :
   Async_Op<"execute", [SingleBlockImplicitTerminator<"YieldOp">,
                        DeclareOpInterfaceMethods<RegionBranchOpInterface,
                                                  ["getSuccessorEntryOperands"]>,
-                       AttrSizedOperandSegments]> {
+                       AttrSizedOperandSegments,
+                       AutomaticAllocationScope]> {
   let summary = "Asynchronous execute operation";
   let description = [{
     The `body` region attached to the `async.execute` operation semantically