aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorhsmahesha <mahesha.comp@gmail.com>2021-06-07 17:21:19 +0530
committerhsmahesha <mahesha.comp@gmail.com>2021-06-07 18:00:41 +0530
commit52ffbfdffc240085fc6ac39cff2f98e66458171f (patch)
tree01d3de9fedd53cc9e6d94ba11b0ad8270d7b199c /flang/lib/Frontend/CompilerInvocation.cpp
parent7736c1936a93d7effecf32ef5193dfc00b732cd2 (diff)
downloadllvm-52ffbfdffc240085fc6ac39cff2f98e66458171f.zip
llvm-52ffbfdffc240085fc6ac39cff2f98e66458171f.tar.gz
llvm-52ffbfdffc240085fc6ac39cff2f98e66458171f.tar.bz2
[AMDGPU] Increase alignment of LDS globals if necessary before LDS lowering.
Before packing LDS globals into a sorted structure, make sure that their alignment is properly updated based on their size. This will make sure that the members of sorted structure are properly aligned, and hence it will further reduce the probability of unaligned LDS access. Reviewed By: rampitec Differential Revision: https://reviews.llvm.org/D103261
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions