[PATCH] D80730: [OPENMP50]Codegen for use_device_addr clauses.

Alexey Bataev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 28 09:15:47 PDT 2020


ABataev created this revision.
ABataev added a reviewer: jdoerfert.
Herald added subscribers: sstefan1, guansong, yaxunl.
Herald added a project: clang.

Added codegen for use_device_addr clause. The components of the list
items are mapped as a kind of RETURN components and then the returned
base address is used instead of the real address of the base declaration
used in the use_device_addr expressions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D80730

Files:
  clang/lib/AST/OpenMPClause.cpp
  clang/lib/CodeGen/CGOpenMPRuntime.cpp
  clang/lib/CodeGen/CGStmtOpenMP.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/lib/Sema/SemaOpenMP.cpp
  clang/test/OpenMP/target_data_use_device_addr_codegen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80730.266896.patch
Type: text/x-patch
Size: 31660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200528/ea3f63f2/attachment-0001.bin>


More information about the cfe-commits mailing list