2 Commits

Author SHA1 Message Date
Susan Tan (ス-ザン タン)
f9c2117b86
[acc] Add an API to make private recipes out of firstprivate recipes (#170588)
In cases of optimizations promoting firstprivate to private, this API
would be useful.
2025-12-04 17:08:34 -05:00
Razvan Lupusoru
484284ef5e
[mlir][acc] Introduce createAndPopulate for recipe creation (#162917)
Private and firstprivate recipes can now be created and populated
through the createAndPopulate method. The populating of recipe bodies is
done through using the PointerLikeType and MappableType interfaces (with
MappableType support still in progress).

The existing create() API remains available for cases where dialects
need manual recipe population (e.g., for frontend-specific semantics
like default value initialization or constructor calls).

Testing exercises the new API with memref types.
2025-10-14 17:34:33 +00:00