Make "mov" work for all Thumb2 MOV encodings
authorMihai Popa <mihail.popa@gmail.com>
Wed, 21 Aug 2013 13:14:58 +0000 (13:14 +0000)
committerMihai Popa <mihail.popa@gmail.com>
Wed, 21 Aug 2013 13:14:58 +0000 (13:14 +0000)
commit1a9f21abac47dcea0c62341b0ee4fd35481350b8
tree32cb251e0265df494a0c64e60801dfa9c1410076
parent8ba76daba09e79b10c4aad8f4298433c6dafa6d5
Make "mov" work for all Thumb2 MOV encodings

According to the ARM specification, "mov" is a valid mnemonic for all Thumb2 MOV encodings.
To achieve this, the patch adds one instruction alias with a special range condition to avoid collision with the Thumb1 MOV.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188901 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
test/MC/ARM/basic-thumb2-instructions.s