OSDN Git Service

[AMDGPU] Combine DPP mov with use instructions (VOP1/2/3)
authorValery Pykhtin <Valery.Pykhtin@amd.com>
Fri, 30 Nov 2018 14:21:56 +0000 (14:21 +0000)
committerValery Pykhtin <Valery.Pykhtin@amd.com>
Fri, 30 Nov 2018 14:21:56 +0000 (14:21 +0000)
commitd339265d524277f53949a97f184b6612060fb873
tree318ed9a79cdeeadf9bf7f673e8a16cfa6d65ac49
parent98272e49b806c887b85e6a6ffb4bbb509ae89704
[AMDGPU] Combine DPP mov with use instructions (VOP1/2/3)

Introduces DPP pseudo instructions and the pass that combines DPP mov with subsequent uses.

Differential revision: https://reviews.llvm.org/D53762

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@347993 91177308-0d34-0410-b5e6-96231b3b80d8
15 files changed:
lib/Target/AMDGPU/AMDGPU.h
lib/Target/AMDGPU/AMDGPU.td
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
lib/Target/AMDGPU/CMakeLists.txt
lib/Target/AMDGPU/GCNDPPCombine.cpp [new file with mode: 0644]
lib/Target/AMDGPU/SIInstrInfo.cpp
lib/Target/AMDGPU/SIInstrInfo.h
lib/Target/AMDGPU/SIInstrInfo.td
lib/Target/AMDGPU/VOP1Instructions.td
lib/Target/AMDGPU/VOP2Instructions.td
lib/Target/AMDGPU/VOPInstructions.td
test/CodeGen/AMDGPU/dpp_combine.ll [new file with mode: 0644]
test/CodeGen/AMDGPU/dpp_combine_subregs.mir [new file with mode: 0644]
test/MC/AMDGPU/vop_dpp.s