[AMDGPU] Disassembler: fix for disaasembling v_mac_f32/16_dpp/sdwa
authorSam Kolton <Sam.Kolton@amd.com>
Thu, 22 Dec 2016 11:30:48 +0000 (11:30 +0000)
committerSam Kolton <Sam.Kolton@amd.com>
Thu, 22 Dec 2016 11:30:48 +0000 (11:30 +0000)
commita6792a39c4ce9250eb75d42cf14616b6da56f7a0
tree5bb322a63af56646ebe2dce77012fc801a6a32ae
parentf39cdea879a8a8ca369b610030b66a55a3c743f3
[AMDGPU] Disassembler: fix for disaasembling v_mac_f32/16_dpp/sdwa

Summary: Real instruction should copy constraints from real instruction. This allows auto-generated disassembler to correctly process tied operands.

Reviewers: nhaustov, vpykhtin, tstellarAMD

Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye

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

llvm-svn: 290336
llvm/lib/Target/AMDGPU/VOP1Instructions.td
llvm/lib/Target/AMDGPU/VOP2Instructions.td
llvm/lib/Target/AMDGPU/VOPCInstructions.td
llvm/lib/Target/AMDGPU/VOPInstructions.td
llvm/test/MC/Disassembler/AMDGPU/dpp_vi.txt
llvm/test/MC/Disassembler/AMDGPU/sdwa_vi.txt