diff options
author | hsmahesha <mahesha.comp@gmail.com> | 2021-06-04 09:34:37 +0530 |
---|---|---|
committer | hsmahesha <mahesha.comp@gmail.com> | 2021-06-04 09:34:37 +0530 |
commit | d71ff907ef23eaef86ad66ba2d711e4986cd6cb2 (patch) | |
tree | 294bd468bc324024e258c746ec47f780a0ac6ac8 /llvm/lib/TextAPI/Platform.cpp | |
parent | 738abfdbea21acd2597d83ad3390daf5696b6d07 (diff) | |
download | llvm-d71ff907ef23eaef86ad66ba2d711e4986cd6cb2.zip llvm-d71ff907ef23eaef86ad66ba2d711e4986cd6cb2.tar.gz llvm-d71ff907ef23eaef86ad66ba2d711e4986cd6cb2.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 'llvm/lib/TextAPI/Platform.cpp')
0 files changed, 0 insertions, 0 deletions