[Openmp-commits] [PATCH] D59783: [OpenMP] Implement 5.0 memory management

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Sat Jan 21 05:13:13 PST 2023


ABataev added a comment.

In D59783#4070643 <https://reviews.llvm.org/D59783#4070643>, @tianshilei1992 wrote:

> @ABataev Can we handle the detection of type `omp_allocator_handle_t` in another way? For example, is it possible to get the `TypeDecl *` from the identifier table and use that as the type (we can get the `QualType` from `TypeDecl *`)?

I tried to avoid this, since we have different representations fir this type. And such lookup would require some non-portable lookup. But if it is not stable anyway, we can try to do it and tie the frontend to the libomp implementation. Or need a better way to represent this type and corresponding constants.


Repository:
  rOMP OpenMP

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59783/new/

https://reviews.llvm.org/D59783



More information about the Openmp-commits mailing list