summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2021-07-10 19:01:56 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2021-07-11 19:18:03 -0500
commit1ab1f04a2be34bea2fb34df0f5ff0bd75bdc7aa0 (patch)
tree88e73ee53e9554df90764cef122251cef15a5139 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent792aac98973daf573a288ae0cbdc9e2633f599e5 (diff)
[OpenMP] Simplify variable sharing and increase shared memory size
In order to avoid malloc/free, up to NUM_SHARED_VARIABLES_IN_SHARED_MEM (=64) variables are communicated in dedicated shared memory instead. The simplification does avoid the need for an "init" and requires "deinit" only if we ever communicate more than NUM_SHARED_VARIABLES_IN_SHARED_MEM variables. Differential Revision: https://reviews.llvm.org/D105767
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions