ARM Assembly syntax support for arithmetic implied dest operand.
authorJim Grosbach <grosbach@apple.com>
Mon, 27 Jun 2011 19:09:15 +0000 (19:09 +0000)
committerJim Grosbach <grosbach@apple.com>
Mon, 27 Jun 2011 19:09:15 +0000 (19:09 +0000)
commit0ff9220ccb6ef419ba4d3a4daf98f4658a9e5134
tree8d85ec6491e1ed3e6fc0ca3c4a0664ed4238a6ca
parent702110159a53481227b01fed81fa4eec0ad3cc46
ARM Assembly syntax support for arithmetic implied dest operand.

When the destination operand is the same as the first source register
operand for arithmetic instructions, the destination operand may be omitted.

For example, the following two instructions are equivalent:
  sub r2, r2, #6
  sub r2, #6

rdar://9682597

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133925 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
test/MC/ARM/arm-arithmetic-aliases.s [new file with mode: 0644]