[AMDGPU] Check for pointer operand while refining LDS align
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 23 Jun 2021 17:21:40 +0000 (10:21 -0700)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 23 Jun 2021 19:27:55 +0000 (12:27 -0700)
commitd274d64ef45f99387428d80a4f4b81dee91305e8
tree67f75aaffdcf05afee3e254bf4c7fbcd59b49c80
parenta15f9ff996eafdc125402d5a40c8af5cd59a0f6a
[AMDGPU] Check for pointer operand while refining LDS align

Also skips the propagation if alignment is 1.

Differential Revision: https://reviews.llvm.org/D104796
llvm/lib/Target/AMDGPU/AMDGPULowerModuleLDSPass.cpp
llvm/test/CodeGen/AMDGPU/lower-kernel-lds-super-align.ll