diff options
| author | Tim Renouf <tpr.llvm@botech.co.uk> | 2018-03-27 21:35:00 +0000 |
|---|---|---|
| committer | Tim Renouf <tpr.llvm@botech.co.uk> | 2018-03-27 21:35:00 +0000 |
| commit | e4208bfa5b2d78541eeb08459caa11e850af201a (patch) | |
| tree | 5d2faf8407db23d210aff76c4a854ddb953c1ba8 /llvm/test/CodeGen/AArch64 | |
| parent | 99c8eb8781c6336d76d78d6da07b8ba179eed87d (diff) | |
| download | bcm5719-llvm-e4208bfa5b2d78541eeb08459caa11e850af201a.tar.gz bcm5719-llvm-e4208bfa5b2d78541eeb08459caa11e850af201a.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.
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: 328673
Diffstat (limited to 'llvm/test/CodeGen/AArch64')
0 files changed, 0 insertions, 0 deletions

