[PATCH] D16860: AMDGPU: Preserve alignments on new created globals

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 21:19:47 PST 2016


arsenm added a comment.

In http://reviews.llvm.org/D16860#343776, @tstellarAMD wrote:

> LGTM.  Is the alignment on global variables actually used for things?  I thought it was the alignment on loads/stores that mattered.


The alignment of the load/store must be >= the alignment of the actual address of the indexed value


http://reviews.llvm.org/D16860





More information about the llvm-commits mailing list