AMDGPU/SI: Add a helper for creating aliases for the _e32 instructions
authorTom Stellard <thomas.stellard@amd.com>
Mon, 5 Oct 2015 17:57:39 +0000 (17:57 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 5 Oct 2015 17:57:39 +0000 (17:57 +0000)
commitd0c6de8696fabd89aa0ec4f2a8e6e8d69fdb1dba
tree0b3e81ca06e6991b26fcdb19e8c7012ee00c05d5
parent01cf7ec623a32d1b028e7bf761b0b9e74a195e40
AMDGPU/SI: Add a helper for creating aliases for the _e32 instructions

Summary:
We are currently only using these aliases for VOPC instructions,
but this helper will make it easier to use them everywhere.

These aliases allow for the automatic matching of instructions
with forced 32-bit encoding.  Eventually, we should be able to remove
the custom C++ logic we have for this in the assembler.

Reviewers: arsenm

Subscribers: arsenm, llvm-commits

Differential Revision: http://reviews.llvm.org/D13396

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249330 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/SIInstrInfo.td