[Mlir-commits] [mlir] [mlir][acc] Extend PointerLikeType to provide alloc, dealloc, copy (PR #162328)
Razvan Lupusoru
llvmlistbot at llvm.org
Thu Oct 16 13:49:01 PDT 2025
================
@@ -70,6 +70,86 @@ def OpenACC_PointerLikeTypeInterface : TypeInterface<"PointerLikeType"> {
return ::mlir::acc::VariableTypeCategory::uncategorized;
}]
>,
+ InterfaceMethod<
+ /*description=*/[{
+ Generates allocation operations for the pointer-like type. It will create
+ an allocate that produces memory space for an instance of the current type.
+
+ The `varName` parameter is optional and can be used to provide a name
----------------
razvanlupusoru wrote:
Being fixed here: https://github.com/llvm/llvm-project/pull/163861
I decided to make a promise to not ignore the name when provided.
https://github.com/llvm/llvm-project/pull/162328
More information about the Mlir-commits
mailing list