[Mlir-commits] [mlir] [mlir][scf] ExecuteRegionOp bufferization to consider no_inline attr (PR #160697)
Dor Arad
llvmlistbot at llvm.org
Thu Sep 25 05:34:41 PDT 2025
https://github.com/undor updated https://github.com/llvm/llvm-project/pull/160697
>From cbbd38f562be0a646b45fd1d17aa566947c443b2 Mon Sep 17 00:00:00 2001
From: Dor Arad <dor.arad at mobileye.com>
Date: Thu, 25 Sep 2025 15:24:00 +0300
Subject: [PATCH] [mlir][scf] ExecuteRegionOp bufferization to consider
no_inline attribute
---
mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp b/mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
index fb179e64d8e7b..1385751cfd4f4 100644
--- a/mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
+++ b/mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp
@@ -189,7 +189,7 @@ struct ExecuteRegionOpInterface
// Create new op and move over region.
auto newOp =
- scf::ExecuteRegionOp::create(rewriter, op->getLoc(), newResultTypes);
+ scf::ExecuteRegionOp::create(rewriter, op->getLoc(), newResultTypes,executeRegionOp.getNoInline());
newOp.getRegion().takeBody(executeRegionOp.getRegion());
// Bufferize every block.
More information about the Mlir-commits
mailing list