summaryrefslogtreecommitdiffstats
path: root/clang/test/OpenMP/declare_target_codegen_globalization.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [OPENMP, NVPTX] Fix linkage of the global entries.Alexey Bataev2018-05-081-1/+1
| | | | | | | The linkage of the global entries must be weak to enable support of redefinition of the same target regions in multiple compilation units. llvm-svn: 331768
* [OPENMP, NVPTX] Improve globalization of the variables captured by value.Alexey Bataev2018-03-151-0/+44
If the variable is captured by value and the corresponding parameter in the outlined function escapes its declaration context, this parameter must be globalized. To globalize it we need to get the address of the original parameter, load the value, store it to the global address and use this global address instead of the original. Patch improves globalization for parallel|teams regions + functions in declare target regions. llvm-svn: 327654
OpenPOWER on IntegriCloud