[all-commits] [llvm/llvm-project] 52ffbf: [AMDGPU] Increase alignment of LDS globals if nece...
Mahesha S via All-commits
all-commits at lists.llvm.org
Mon Jun 7 05:32:49 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 52ffbfdffc240085fc6ac39cff2f98e66458171f
https://github.com/llvm/llvm-project/commit/52ffbfdffc240085fc6ac39cff2f98e66458171f
Author: hsmahesha <mahesha.comp at gmail.com>
Date: 2021-06-07 (Mon, 07 Jun 2021)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/lds-global-value.ll
M llvm/test/CodeGen/AMDGPU/ds_read2.ll
M llvm/test/CodeGen/AMDGPU/ds_read2_offset_order.ll
M llvm/test/CodeGen/AMDGPU/ds_write2.ll
M llvm/test/CodeGen/AMDGPU/lds-alignment.ll
M llvm/test/CodeGen/AMDGPU/promote-alloca-globals.ll
A llvm/test/CodeGen/AMDGPU/update-lds-alignment.ll
Log Message:
-----------
[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
More information about the All-commits
mailing list