ARM64: give NEG priority over SUB when printing aliases.
authorTim Northover <tnorthover@apple.com>
Fri, 16 May 2014 09:40:58 +0000 (09:40 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 16 May 2014 09:40:58 +0000 (09:40 +0000)
commit7d80c1a8ac57a7635bc5b94ab199004d5ae3a400
tree01775e6b412a94c5714014014a00d1df30350f88
parentef5f53b78fcf20c8c5a36808be70da262cb47146
ARM64: give NEG priority over SUB when printing aliases.

For example, the full instruction "sub w0, wzr, w1, uxtw" could print as either
"neg w0, w1" or "sub w0, wzr, w1". The former is better.

This will be tested when the TableGen "should I print this Alias" heuristic is
fixed (very soon).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@208957 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM64/ARM64InstrFormats.td
lib/Target/ARM64/ARM64InstrInfo.td