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)
commitae1112bae540972b6c663eb900333f8a677ce5a6
tree8d68890791344444147c963e1696eb94e1b42016
parent90f54229545e955d2e8ab37c25b6c2e88ec5a271
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.

llvm-svn: 188901
llvm/lib/Target/ARM/ARMInstrInfo.td
llvm/lib/Target/ARM/ARMInstrThumb2.td
llvm/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
llvm/test/MC/ARM/basic-thumb2-instructions.s