Prior to GCN3 s_load_dword offsets are in dwords rather than bytes.
Thus the scratch buffer descriptor offset must be adjusted for pre-GCN3 ASICs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Paths
| Differential D56496
[AMDGPU] Fix CS scratch setup on pre-GCN3 ASICs ClosedPublic Authored by critson on Jan 9 2019, 8:36 AM.
Details Summary Prior to GCN3 s_load_dword offsets are in dwords rather than bytes.
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, t-tye, dstuttard and 5 others. · View Herald TranscriptJan 9 2019, 8:37 AM This revision is now accepted and ready to land.Feb 7 2019, 3:32 AM Closed by commit rL353530: [AMDGPU] Fix CS scratch setup on pre-GCN3 ASICs (authored by critson). · Explain WhyFeb 8 2019, 7:41 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 185972 llvm/trunk/lib/Target/AMDGPU/SIFrameLowering.cpp
llvm/trunk/test/CodeGen/AMDGPU/amdpal.ll
|