[AMDGPU] flat scratch SVS addressing mode for gfx940
commit36fe3f13a997cc45cbffe8a4631db4b1dade6eb8
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Tue, 8 Mar 2022 21:33:48 +0000 (8 13:33 -0800)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Mon, 14 Mar 2022 22:23:36 +0000 (14 15:23 -0700)
tree1598e167e0a20deb24df4f1c5df1b7dfa4e48c3f
parentee7a286cd3e4364d2f7d5b6ba4b8a6fc0d524854
[AMDGPU] flat scratch SVS addressing mode for gfx940

Both VADDR and SADDR are used in SVS mode.

Differential Revision: https://reviews.llvm.org/D121254
17 files changed:
llvm/lib/Target/AMDGPU/AMDGPUGISel.td
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
llvm/lib/Target/AMDGPU/AMDGPUISelDAGToDAG.h
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.h
llvm/lib/Target/AMDGPU/FLATInstructions.td
llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.h
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch-init.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/flat-scratch.ll
llvm/test/CodeGen/AMDGPU/flat-scratch.ll
llvm/test/CodeGen/AMDGPU/memory-legalizer-private-nontemporal.ll
llvm/test/MC/AMDGPU/flat-scratch-gfx940.s [new file with mode: 0644]
llvm/test/MC/AMDGPU/flat-scratch-instructions.s
llvm/test/MC/Disassembler/AMDGPU/flat-scratch-gfx940.txt [new file with mode: 0644]