diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2021-06-07 13:11:42 -0400 |
---|---|---|
committer | Huber, Joseph <huberjn@ornl.gov> | 2021-06-22 13:23:05 -0400 |
commit | 2662351e3b75052f3ab273b36ee7d64b5cb7cb85 (patch) | |
tree | 6adb5974c2f96f7a66c1fed3a8b712cff5cacf92 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d03736455ceeeb8ce639b65b4965436297cf24a4 (diff) | |
download | llvm-2662351e3b75052f3ab273b36ee7d64b5cb7cb85.zip llvm-2662351e3b75052f3ab273b36ee7d64b5cb7cb85.tar.gz llvm-2662351e3b75052f3ab273b36ee7d64b5cb7cb85.tar.bz2 |
[OpenMP] Add new OpenMP globalization functions to library info
Summary:
The changes to globalization introduced in D97680 created two new functions to
push / pop shareably memory on the GPU, __kmpc_alloc_shared and
__kmpc_free_shared. This patch adds these new runtime functions to the
library info so they can be used by the HeapToStack attributor interface. This
optimization replaces malloc / free pairs with stack memory if legal.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D102087
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions