ARM Thumb2 asm syntax optional destination operand for binary operators.
authorJim Grosbach <grosbach@apple.com>
Tue, 28 Jun 2011 00:19:13 +0000 (00:19 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 28 Jun 2011 00:19:13 +0000 (00:19 +0000)
commitadf7366771ebc78b3eee3c86b95e255ff5726da7
tree3f6019a3938b984fa68e73b9e71795486389dd45
parentf46e7e3d7ff56d91572350c45ade83f4deea0139
ARM Thumb2 asm syntax optional destination operand for binary operators.

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:
and r1, #ff
and r1, r1, #ff

rdar://9672867

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133973 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrThumb2.td
test/MC/ARM/thumb2.s