[ARM] Accept shortened forms of the T2 ADC instruction
authorJirui Wu <jirui.wu@arm.com>
Fri, 13 Jan 2023 10:21:09 +0000 (10:21 +0000)
committerJirui Wu <jirui.wu@arm.com>
Mon, 30 Jan 2023 10:20:30 +0000 (10:20 +0000)
commit7f85a3804bc4dfff5b8ac1f8046a0906d93026ff
tree306bb21bbf05cf1aac9d2c4ab8dc5f5b2506e0cc
parent148432ea84d244f9f6aa50d9af567b12dba671d5
[ARM] Accept shortened forms of the T2 ADC instruction

The previous T2 ADC instruction requires three operands. This patch
supports its shortened forms.

Differential Revision: https://reviews.llvm.org/D141853
llvm/lib/Target/ARM/ARMInstrThumb2.td
llvm/test/MC/ARM/basic-thumb2-instructions.s
llvm/test/MC/Disassembler/ARM/thumb2.txt