R600/SI: Use same names for corresponding MUBUF operands and encoding fields
authorTom Stellard <thomas.stellard@amd.com>
Fri, 5 Apr 2013 23:31:44 +0000 (23:31 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 5 Apr 2013 23:31:44 +0000 (23:31 +0000)
commite340b7728a0936429fc1938c36fc4bdccb5fdc19
treef15e155b27cd1ef431a01c5a7f5da091bd49f9dd
parent99eb040c02a780db86ac07e35be2d8a6239f7007
R600/SI: Use same names for corresponding MUBUF operands and encoding fields

The code emitter knows how to encode operands whose name matches one of
the encoding fields.  If there is no match, the code emitter relies on
the order of the operand and field definitions to determine how operands
should be encoding.  Matching by order makes it easy to accidentally break
the instruction encodings, so we prefer to match by name.

Reviewed-by: Christian König <christian.koenig@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178930 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrFormats.td
lib/Target/R600/SIInstrInfo.td