[all-commits] [llvm/llvm-project] d71ff9: [AMDGPU] Increase alignment of LDS globals if nece...
Mahesha S via All-commits
all-commits at lists.llvm.org
Thu Jun 3 21:07:38 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d71ff907ef23eaef86ad66ba2d711e4986cd6cb2
https://github.com/llvm/llvm-project/commit/d71ff907ef23eaef86ad66ba2d711e4986cd6cb2
Author: hsmahesha <mahesha.comp at gmail.com>
Date: 2021-06-04 (Fri, 04 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