diff options
author | Scott Linder <scott@scottlinder.com> | 2018-07-26 19:47:51 +0000 |
---|---|---|
committer | Scott Linder <scott@scottlinder.com> | 2018-07-26 19:47:51 +0000 |
commit | eb1f75d561762123224c17b763f68def84a05715 (patch) | |
tree | c179aebdeab30fc69f5db24ff1c9bcb711d9fe32 /llvm/tools/llvm-objcopy/llvm-objcopy.cpp | |
parent | 6d6eab66e0f76c8bb908492dcc863308b66f7771 (diff) | |
download | bcm5719-llvm-eb1f75d561762123224c17b763f68def84a05715.tar.gz bcm5719-llvm-eb1f75d561762123224c17b763f68def84a05715.zip |
[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
llvm-svn: 338060
Diffstat (limited to 'llvm/tools/llvm-objcopy/llvm-objcopy.cpp')
0 files changed, 0 insertions, 0 deletions