[OPENMP]Remove const firstprivate allocation as a variable in a constant space.
authorAlexey Bataev <a.bataev@outlook.com>
Fri, 2 Jul 2021 20:45:56 +0000 (13:45 -0700)
committerAlexey Bataev <a.bataev@outlook.com>
Wed, 7 Jul 2021 12:56:48 +0000 (05:56 -0700)
commitb3c80dd8943a0d962bea1969b7a9e0147504d293
tree97f9efa1348478473b112e1403b98664cfab149b
parent6412a13539ab2914eed8e1df83c399b9a16e3408
[OPENMP]Remove const firstprivate allocation as a variable in a constant space.

Current implementation is not compatible with asynchronous target
regions, need to remove it.

Differential Revision: https://reviews.llvm.org/D105375
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/lib/CodeGen/CGOpenMPRuntime.h
clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
clang/lib/CodeGen/CGOpenMPRuntimeGPU.h
clang/lib/CodeGen/CGStmtOpenMP.cpp
clang/test/OpenMP/nvptx_target_firstprivate_codegen.cpp
clang/test/OpenMP/target_firstprivate_codegen.cpp