summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/Backend.cpp
diff options
context:
space:
mode:
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>2018-03-15 16:05:34 +0000
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>2018-03-15 16:05:34 +0000
commit876c1ed2e5ece477113bf3a7959acc5a1aa498ad (patch)
tree0e0337f5c7898ea5add4b3233c19987e39245862 /llvm/tools/llvm-mca/Backend.cpp
parentc1c4ad6e64fc0037f4f21952bc6d1a569bce2fa1 (diff)
downloadbcm5719-llvm-876c1ed2e5ece477113bf3a7959acc5a1aa498ad.tar.gz
bcm5719-llvm-876c1ed2e5ece477113bf3a7959acc5a1aa498ad.zip
[OpenMP][libomptarget] Enable usage of shared memory slots
Summary: Allow the runtime to use the existing shared memory statically allocated slots. When a variable is globalized, the underlying memory can be either shared or global memory (both have block-wide visibility). In this case, we allow that the storage to use a limited amount of shared memory that has been statically allocated already. Only if shared memory doesn't prove to be enough do we then invoke malloc() to create a new global memory slot. Reviewers: ABataev, carlo.bertolli, grokos, caomhin Reviewed By: grokos Subscribers: guansong, openmp-commits Differential Revision: https://reviews.llvm.org/D44486 llvm-svn: 327639
Diffstat (limited to 'llvm/tools/llvm-mca/Backend.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud