| commit | 1af5bd54a8273398d33c840b8a26852ff3be73f7 | [log] [tgz] |
|---|---|---|
| author | Alexey Bataev <a.bataev@hotmail.com> | Tue Mar 05 17:47:18 2019 +0000 |
| committer | Alexey Bataev <a.bataev@hotmail.com> | Tue Mar 05 17:47:18 2019 +0000 |
| tree | b75d4d6cb6d865588017ece3eb07492e6190f1ce | |
| parent | 1061cb6a93c2661905b5ee08718660f2bed243a3 [diff] |
[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