[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)
commit3d9afa273f94bfc1a7a63d7fd6f1484ffc34453c
tree44171fc2b67bc5a9e34a85780e3f9bcd859fae68
parent445b0b6260238f3e59204e6af921447564962004
[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

llvm-svn: 347993
15 files changed:
llvm/lib/Target/AMDGPU/AMDGPU.h
llvm/lib/Target/AMDGPU/AMDGPU.td
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
llvm/lib/Target/AMDGPU/CMakeLists.txt
llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp [new file with mode: 0644]
llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.h
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/lib/Target/AMDGPU/VOP1Instructions.td
llvm/lib/Target/AMDGPU/VOP2Instructions.td
llvm/lib/Target/AMDGPU/VOPInstructions.td
llvm/test/CodeGen/AMDGPU/dpp_combine.ll [new file with mode: 0644]
llvm/test/CodeGen/AMDGPU/dpp_combine_subregs.mir [new file with mode: 0644]
llvm/test/MC/AMDGPU/vop_dpp.s