Change ARM PKHTB and PKHBT instructions to use a shift_imm operand to avoid
authorBob Wilson <bob.wilson@apple.com>
Tue, 17 Aug 2010 17:23:19 +0000 (17:23 +0000)
committerBob Wilson <bob.wilson@apple.com>
Tue, 17 Aug 2010 17:23:19 +0000 (17:23 +0000)
commitf955f290c949ff0df7d23cec055efcc4ffeb35d1
tree9171bcf8b787c35d4108993dac1808996f673bf8
parent087fbeb7d14743d0904a94ef3c73cd5dcbc50c96
Change ARM PKHTB and PKHBT instructions to use a shift_imm operand to avoid
printing "lsl #0".  This fixes the remaining parts of pr7792.  Make
corresponding changes for encoding/decoding these instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111251 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMCodeEmitter.cpp
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/Disassembler/ARMDisassemblerCore.cpp
lib/Target/ARM/Disassembler/ThumbDisassemblerCore.h
test/CodeGen/ARM/pack.ll
test/CodeGen/Thumb2/thumb2-pack.ll
test/MC/Disassembler/arm-tests.txt
test/MC/Disassembler/thumb-tests.txt