summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorTim Renouf <tpr.llvm@botech.co.uk>2018-04-10 11:25:15 +0000
committerTim Renouf <tpr.llvm@botech.co.uk>2018-04-10 11:25:15 +0000
commit7190a4692ac65c9a5decaf62d403d68ac094dd0c (patch)
tree20f86f8f673b269dcac51f5070e3ccebabc5c04d /lldb/source/Plugins/ScriptInterpreter/Python
parent58fe46d99f394b82bd16cc985de9784d2a2a3d67 (diff)
downloadbcm5719-llvm-7190a4692ac65c9a5decaf62d403d68ac094dd0c.tar.gz
bcm5719-llvm-7190a4692ac65c9a5decaf62d403d68ac094dd0c.zip
[AMDGPU] For OS type AMDPAL, fixed scratch on compute shader
Summary: For OS type AMDPAL, the scratch descriptor is loaded from offset 0 of the GIT, whose 32 bit pointer is in s0 (s8 for gfx9 merged shaders). This commit fixes that to use offset 0x10 instead of offset 0 for a compute shader, per the PAL ABI spec. V2: Ensure s0 (s8 for gfx9 merged shader) is marked live-in when loading scratch descriptor from GIT. Reviewers: kzhuravl, nhaehnle, timcorringham Subscribers: kzhuravl, wdng, yaxunl, t-tye, llvm-commits, dstuttard, nhaehnle, arsenm Differential Revision: https://reviews.llvm.org/D44468 Change-Id: I93dffa647758e37f613bb5e0dfca840d82e6d26f llvm-svn: 329690
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud