llvm-project/llvm/lib/Target/AMDGPU/Utils
Austin Kerbow 30f18ed387 [AMDGPU] Handle SMRD signed offset immediate
Summary:
This fixes a few issues related to SMRD offsets. On gfx9 and gfx10 we have a
signed byte offset immediate, however we can overflow into a negative since we
treat it as unsigned.

Also, the SMRD SOFFSET sgpr is an unsigned offset on all subtargets. We
sometimes tried to use negative values here.

Third, S_BUFFER instructions should never use a signed offset immediate.

Differential Revision: https://reviews.llvm.org/D77082
2020-04-02 17:41:52 -07:00
..
AMDGPUAsmUtils.cpp [AMDGPU][MC][GFX9][GFX10] Added support of GET_DOORBELL message 2019-07-15 15:12:16 +00:00
AMDGPUAsmUtils.h [AMDGPU][MC][GFX8+] Added syntactic sugar for 'vgpr index' operand of instructions s_set_gpr_idx_on and s_set_gpr_idx_mode 2019-02-27 13:12:12 +00:00
AMDGPUBaseInfo.cpp [AMDGPU] Handle SMRD signed offset immediate 2020-04-02 17:41:52 -07:00
AMDGPUBaseInfo.h [AMDGPU] Handle SMRD signed offset immediate 2020-04-02 17:41:52 -07:00
AMDGPUPALMetadata.cpp Prune two MachineInstr.h includes, fix up deps 2019-10-19 00:22:07 +00:00
AMDGPUPALMetadata.h [AMDGPU] gfx1010 wave32 metadata 2019-06-17 16:48:56 +00:00
AMDKernelCodeTInfo.h [AMDGPU] gfx1010 wave32 metadata 2019-06-17 16:48:56 +00:00
AMDKernelCodeTUtils.cpp
AMDKernelCodeTUtils.h
CMakeLists.txt [cmake] Explicitly mark libraries defined in lib/ as "Component Libraries" 2019-11-21 10:48:08 -08:00
LLVMBuild.txt [AMDGPU] Fix dependency on `BinaryFormat` 2019-03-20 21:22:27 +00:00