[Mlir-commits] [flang] [mlir] [flang][acc] Introduce interface for rematerializable ops (PR #174467)
Slava Zakharin
llvmlistbot at llvm.org
Mon Jan 5 11:26:53 PST 2026
================
@@ -100,4 +100,19 @@ def IndirectGlobalAccessOpInterface : OpInterface<"IndirectGlobalAccessOpInterfa
];
}
+def OutlineRematerializationOpInterface : OpInterface<"OutlineRematerializationOpInterface"> {
+ let cppNamespace = "::mlir::acc";
+
+ let description = [{
+ An interface for operations that are candidates for rematerialization
+ during outlining. These operations produce synthetic types or values
+ that cannot be passed as arguments to outlined regions and must be
+ rematerialized inside the region instead.
+
+ Operations implementing this interface are expected to be memory effect
----------------
vzakhari wrote:
We should probably add `verify` implementation to assert that.
https://github.com/llvm/llvm-project/pull/174467
More information about the Mlir-commits
mailing list