From 593731cb59a5f582344b245f647c6d3355492248 Mon Sep 17 00:00:00 2001 From: Steven Gu Date: Thu, 23 Jan 2025 15:09:41 +0800 Subject: [PATCH] [mlir][scf] scf.for support inline which contains affine map op. --- mlir/include/mlir/Dialect/SCF/IR/SCFOps.td | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td b/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td index 6f408b3c924de..6d61f724fab4f 100644 --- a/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td +++ b/mlir/include/mlir/Dialect/SCF/IR/SCFOps.td @@ -133,8 +133,9 @@ def ExecuteRegionOp : SCF_Op<"execute_region", [ // ForOp //===----------------------------------------------------------------------===// -def ForOp : SCF_Op<"for", - [AutomaticAllocationScope, DeclareOpInterfaceMethods