commit | 7531be0d757466594665db8798679bfb798fcf51 | [log] [tgz] |
---|---|---|
author | Scott Linder <scott@scottlinder.com> | Thu Jul 26 19:47:51 2018 +0000 |
committer | Scott Linder <scott@scottlinder.com> | Thu Jul 26 19:47:51 2018 +0000 |
tree | 53087ac8c13fc1a14d8c8cb0a00e5e20e333f132 | |
parent | ededc9899f128d2ddd70aea2117fa062820825f3 [diff] |
[AMDGPU] Fix VGPR spills where offset doesn't fit in 12 bits Scale the offset of VGPR spills by the wave size when it cannot fit in the 12-bit offset immediate field and so is added to the soffset SGPR. This accounts for hardware swizzling of scratch memory. Differential Revision: https://reviews.llvm.org/D49448 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@338060 91177308-0d34-0410-b5e6-96231b3b80d8