ARM: Tidy up representation of PKH instruction.
authorJim Grosbach <grosbach@apple.com>
Wed, 20 Jul 2011 20:32:09 +0000 (20:32 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 20 Jul 2011 20:32:09 +0000 (20:32 +0000)
commita0472dc4205d5f2cc4e9cc5a08c51625573a26ce
tree230801a70a311dd335a2b19c012f598faffd4493
parentaeb7de764a99af5565f1a9c04a8439836efa6084
ARM: Tidy up representation of PKH instruction.

The shift type is implied by the instruction (PKHBT vs. PKHTB) and so shouldn't
be also encoded as part of the shift value immediate. Otherwise we're able to
represent invalid instructions, plus it needlessly complicates the
representation. Preparatory work for asm parsing of these instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135616 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrFormats.td
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
lib/Target/ARM/Disassembler/ThumbDisassemblerCore.h