summaryrefslogtreecommitdiff
path: root/test/CodeGen/ARM/pack.ll
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-08-17 17:23:19 +0000
committerBob Wilson <bob.wilson@apple.com>2010-08-17 17:23:19 +0000
commitf955f290c949ff0df7d23cec055efcc4ffeb35d1 (patch)
tree9171bcf8b787c35d4108993dac1808996f673bf8 /test/CodeGen/ARM/pack.ll
parent087fbeb7d14743d0904a94ef3c73cd5dcbc50c96 (diff)
downloadllvm-f955f290c949ff0df7d23cec055efcc4ffeb35d1.tar.gz
llvm-f955f290c949ff0df7d23cec055efcc4ffeb35d1.tar.bz2
llvm-f955f290c949ff0df7d23cec055efcc4ffeb35d1.tar.xz
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
Diffstat (limited to 'test/CodeGen/ARM/pack.ll')
-rw-r--r--test/CodeGen/ARM/pack.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/pack.ll b/test/CodeGen/ARM/pack.ll
index 25a3ccd61e..4905dc28cf 100644
--- a/test/CodeGen/ARM/pack.ll
+++ b/test/CodeGen/ARM/pack.ll
@@ -38,7 +38,7 @@ define i32 @test3(i32 %X, i32 %Y) {
}
; CHECK: test4
-; CHECK: pkhbt r0, r0, r1, lsl #0
+; CHECK: pkhbt r0, r0, r1
define i32 @test4(i32 %X, i32 %Y) {
%tmp1 = and i32 %X, 65535 ; <i32> [#uses=1]
%tmp3 = and i32 %Y, -65536 ; <i32> [#uses=1]