[Mlir-commits] [mlir] Keep attributes on bufferization of	execute_region. (PR #165381)
    Matthias Springer 
    llvmlistbot at llvm.org
       
    Tue Oct 28 09:39:11 PDT 2025
    
    
  
================
@@ -190,6 +190,7 @@ struct ExecuteRegionOpInterface
     // Create new op and move over region.
     auto newOp = scf::ExecuteRegionOp::create(
         rewriter, op->getLoc(), newResultTypes, executeRegionOp.getNoInline());
+    newOp->setAttrs(executeRegionOp->getAttrs());
----------------
matthias-springer wrote:
Why do you need this? Forwarding discardable attributes is controversial.
https://github.com/llvm/llvm-project/pull/165381
    
    
More information about the Mlir-commits
mailing list