[all-commits] [llvm/llvm-project] 622eaa: [HIP] Support __managed__ attribute

Yaxun (Sam) Liu via All-commits all-commits at lists.llvm.org
Fri Jan 22 08:47:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 622eaa4a4cea17c2cec6942d9702b010deae392b
      https://github.com/llvm/llvm-project/commit/622eaa4a4cea17c2cec6942d9702b010deae392b
  Author: Yaxun (Sam) Liu <yaxun.liu at amd.com>
  Date:   2021-01-22 (Fri, 22 Jan 2021)

  Changed paths:
    M clang/include/clang/Basic/Attr.td
    M clang/include/clang/Basic/AttrDocs.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/CodeGen/CGCUDANV.cpp
    M clang/lib/CodeGen/CGCUDARuntime.h
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/Sema/SemaDeclAttr.cpp
    A clang/test/AST/Inputs/cuda.h
    A clang/test/AST/ast-dump-managed-var.cu
    M clang/test/CodeGenCUDA/Inputs/cuda.h
    A clang/test/CodeGenCUDA/managed-var.cu
    M clang/test/Misc/pragma-attribute-supported-attributes-list.test
    M clang/test/SemaCUDA/Inputs/cuda.h
    M clang/test/SemaCUDA/bad-attributes.cu
    M clang/test/SemaCUDA/device-var-init.cu
    M clang/test/SemaCUDA/function-overload.cu
    A clang/test/SemaCUDA/managed-var.cu
    M clang/test/SemaCUDA/union-init.cu
    A llvm/include/llvm/IR/ReplaceConstant.h
    M llvm/lib/IR/CMakeLists.txt
    A llvm/lib/IR/ReplaceConstant.cpp
    M llvm/lib/Target/XCore/XCoreLowerThreadLocal.cpp

  Log Message:
  -----------
  [HIP] Support __managed__ attribute

This patch implements codegen for __managed__ variable attribute for HIP.

Diagnostics will be added later.

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




More information about the All-commits mailing list