summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2021-12-17 17:00:13 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2021-12-27 16:58:25 -0500
commit7cdaa5a94ed74a7f31bb16b722833b54bc21b0be (patch)
tree6ce4b2596e1d67d702dd526ba75d9c00bbcaf62b /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent38fc89623b3ea274ba45be20a19de217e45e1563 (diff)
[OpenMP][FIX] Change globalization alignment to 16
This patch changes the default aligntment from 8 to 16, and encodes this information in the `__kmpc_alloc_shared` runtime call to communicate it to the HeapToStack pass. The previous alignment of 8 was not sufficient for the maximum size of primitive types on 64-bit systems, and needs to be increaesd. This reduces the amount of space availible in the data sharing stack, so this implementation will need to be improved later to include the alignment requirements in the allocation call, and use it properly in the data sharing stack in the runtime. Depends on D115888 Reviewed By: jdoerfert Differential Revision: https://reviews.llvm.org/D115971
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions