[MLIR][OpenMP]Add Flang lowering support for device_ptr and device_addr clauses
authorAkash Banerjee <Akash.Banerjee@amd.com>
Tue, 20 Jun 2023 14:29:22 +0000 (15:29 +0100)
committerAkash Banerjee <Akash.Banerjee@amd.com>
Thu, 22 Jun 2023 14:52:33 +0000 (15:52 +0100)
commitd21580c3065740ac32f3713d737f302ed7f0ac94
tree474f6c476d563fb35c78d7d5d6b36684c5bb45dd
parent0657ae30c77dbac321e0cd850e08e06e3af5b9bb
[MLIR][OpenMP]Add Flang lowering support for device_ptr and device_addr clauses

Add lowering support for the use_device_ptr and use_Device_addr clauses for the Target Data directive.

Depends on D152822

Differential Revision: https://reviews.llvm.org/D152824
flang/lib/Lower/OpenMP.cpp
flang/test/Lower/OpenMP/target.f90