diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-08-17 17:23:19 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-08-17 17:23:19 +0000 |
commit | f955f290c949ff0df7d23cec055efcc4ffeb35d1 (patch) | |
tree | 9171bcf8b787c35d4108993dac1808996f673bf8 /test/CodeGen/ARM | |
parent | 087fbeb7d14743d0904a94ef3c73cd5dcbc50c96 (diff) | |
download | external_llvm-f955f290c949ff0df7d23cec055efcc4ffeb35d1.zip external_llvm-f955f290c949ff0df7d23cec055efcc4ffeb35d1.tar.gz external_llvm-f955f290c949ff0df7d23cec055efcc4ffeb35d1.tar.bz2 |
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')
-rw-r--r-- | test/CodeGen/ARM/pack.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/ARM/pack.ll b/test/CodeGen/ARM/pack.ll index 25a3ccd..4905dc2 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] |