]> granicus.if.org Git - llvm/commit
[AMDGPU] Fixed dpp combine of VOP1
authorStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 9 Oct 2019 22:02:58 +0000 (22:02 +0000)
committerStanislav Mekhanoshin <Stanislav.Mekhanoshin@amd.com>
Wed, 9 Oct 2019 22:02:58 +0000 (22:02 +0000)
commit7d6a3303df8f04c7b94f768f5cb7dcc12a3fc43b
tree7e97ab20cf63c83954220ad3063d0ec0ab8cd562
parent153c5a24ad47d9a7f7761d3040595d2bbb4a2cc3
[AMDGPU] Fixed dpp combine of VOP1

If original instruction did not have source modifiers they were
not added to the new DPP instruction as well, even if needed.

Differential Revision: https://reviews.llvm.org/D68729

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@374241 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/GCNDPPCombine.cpp
test/CodeGen/AMDGPU/dpp_combine.mir