diff options
author | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-09-23 17:34:13 -0700 |
---|---|---|
committer | Stanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com> | 2021-09-24 09:46:31 -0700 |
commit | 082e22f3d72bd63f9b388d5566064cf3736da511 (patch) | |
tree | c6d6a6ca1ec604ed00a898f064bc5f29a2dbc658 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 5988a3b7a09126aff982944ecb36f533c450388e (diff) | |
download | llvm-082e22f3d72bd63f9b388d5566064cf3736da511.zip llvm-082e22f3d72bd63f9b388d5566064cf3736da511.tar.gz llvm-082e22f3d72bd63f9b388d5566064cf3736da511.tar.bz2 |
[AMDGPU] Always reserve flat scratch SGPR for architected flat scratch
With architected flat scratch it becomes readonly. We must always
reserve SGPR pair for it even if we do not use scratch at all since
an attempt to write to SGPRs mapped to FLAT_SCRATCH results in
memory violation.
This is not needed since GFX10 with architected flat scratch though
since special SGPRs are not carving space from normal SGPRs.
Differential Revision: https://reviews.llvm.org/D110376
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions