diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-07-17 21:32:24 -0400 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2020-07-29 11:40:42 -0400 |
commit | d42c7b22118c763090e3bec180cb8f01b5c4cfeb (patch) | |
tree | 40b4cc667f0b730d153280d41f0f0cc96314dfcd /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | bbc2ddecbd342d4502fe43466bd3658b89ddad7d (diff) | |
download | llvm-d42c7b22118c763090e3bec180cb8f01b5c4cfeb.zip llvm-d42c7b22118c763090e3bec180cb8f01b5c4cfeb.tar.gz llvm-d42c7b22118c763090e3bec180cb8f01b5c4cfeb.tar.bz2 |
AMDGPU: Account for the size of LDS globals used through constant
expressions.
Also "fix" the longstanding bug where the computed size depends on the
order of the visitation. We could try to predict the allocation order
used by legalization, but it would never be 100% perfect. Until we
start fixing the addresses somehow (or have a more reliable allocation
scheme later), just try to compute the size based on the worst case
padding.
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions