[all-commits] [llvm/llvm-project] 90b54f: [OPENMP50]Codegen for use_device_addr clauses.

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Jun 11 07:03:13 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 90b54fa045e3f8711e0bfb2d22626b28fd3b131f
      https://github.com/llvm/llvm-project/commit/90b54fa045e3f8711e0bfb2d22626b28fd3b131f
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2020-06-11 (Thu, 11 Jun 2020)

  Changed paths:
    M clang/lib/AST/OpenMPClause.cpp
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/lib/CodeGen/CGStmtOpenMP.cpp
    M clang/lib/CodeGen/CodeGenFunction.h
    M clang/lib/Sema/SemaOpenMP.cpp
    A clang/test/OpenMP/target_data_use_device_addr_codegen.cpp

  Log Message:
  -----------
  [OPENMP50]Codegen for use_device_addr clauses.

Summary:
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.

Reviewers: jdoerfert

Subscribers: yaxunl, guansong, sstefan1, cfe-commits, caomhin

Tags: #clang

Differential Revision: https://reviews.llvm.org/D80730




More information about the All-commits mailing list