summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
diff options
context:
space:
mode:
authorScott Linder <scott@scottlinder.com>2018-07-26 19:47:51 +0000
committerScott Linder <scott@scottlinder.com>2018-07-26 19:47:51 +0000
commiteb1f75d561762123224c17b763f68def84a05715 (patch)
treec179aebdeab30fc69f5db24ff1c9bcb711d9fe32 /llvm/tools/llvm-objcopy/llvm-objcopy.cpp
parent6d6eab66e0f76c8bb908492dcc863308b66f7771 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud