Modifies the GCNDPPCombine pass to enable DPP formation for the new DPP
instruction in gfx11, namely VOP3 encoded instructions with DPP and VOPC
with DPP.
Depends on D128656
Paths
| Differential D128682
[AMDGPU] gfx11 CodeGen for new DPP instructions ClosedPublic Authored by Joe_Nash on Jun 27 2022, 2:07 PM.
Details
Summary Modifies the GCNDPPCombine pass to enable DPP formation for the new DPP Depends on D128656
Diff Detail
Event Timeline
Joe_Nash marked 3 inline comments as done. Comment ActionsRemoved HasVOP3DPP parameter. explicit type instead of auto. Check ST->hasVOP3DPP before calling getDPPOp64
This revision is now accepted and ready to land.Jun 28 2022, 1:25 PM This revision was landed with ongoing or failed builds.Jul 5 2022, 7:47 AM Closed by commit rG0483c91eee9e: [AMDGPU] gfx11 CodeGen for new DPP instructions (authored by Joe_Nash). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 440615 llvm/lib/Target/AMDGPU/GCNDPPCombine.cpp
llvm/lib/Target/AMDGPU/SIInstrInfo.h
llvm/lib/Target/AMDGPU/SIInstrInfo.td
llvm/lib/Target/AMDGPU/VOPInstructions.td
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.mov.dpp.ll
llvm/test/CodeGen/AMDGPU/GlobalISel/llvm.amdgcn.update.dpp.ll
llvm/test/CodeGen/AMDGPU/dpp64_combine.ll
llvm/test/CodeGen/AMDGPU/dpp_combine.ll
llvm/test/CodeGen/AMDGPU/dpp_combine_gfx11.mir
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mov.dpp.ll
llvm/test/CodeGen/AMDGPU/llvm.amdgcn.update.dpp.ll
llvm/test/CodeGen/AMDGPU/vopc_dpp.mir
|
No need to pass HasVOP3DPP, you have ST available here and it is a trivial getter.