Skip to content
Commit 1af5bd54 authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP]Target region: emit const firstprivates as globals with constant

memory.

If the variable with the constant non-scalar type is firstprivatized in
the target region, the local copy is created with the data copying.
Instead, we allocate the copy in the constant memory and avoid extra
copying in the outlined target regions. This global copy is used in the
target regions without loss of the performance.

llvm-svn: 355418
parent 1061cb6a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment