[Mlir-commits] [flang] [mlir] [mlir][acc] Add OffloadLiveInValueCanonicalization pass (PR #174671)

Razvan Lupusoru llvmlistbot at llvm.org
Wed Jan 7 09:46:02 PST 2026


================
@@ -122,4 +122,15 @@ def OutlineRematerializationOpInterface : OpInterface<"OutlineRematerializationO
   }];
 }
 
+def OffloadRegionOpInterface : OpInterface<"OffloadRegionOpInterface"> {
----------------
razvanlupusoru wrote:

Thank you Slava! In spirit it does serve the same purpose :) I see it primarily being used related to allocation placement in flang. I would agree that a common `OffloadRegionOp` interface should consider covering this case as well (and then we can also get rid of the acc dialect interface `ComputeRegionOp` if we unify under a common one). I still stand by my comment that I would like for us to see more use cases first before we try to move it a common place :) That said, thank you for pointing this out.

https://github.com/llvm/llvm-project/pull/174671


More information about the Mlir-commits mailing list