summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Goodwin <david_goodwin@apple.com>2009-07-28 18:15:38 +0000
committerDavid Goodwin <david_goodwin@apple.com>2009-07-28 18:15:38 +0000
commit5743854f47c00118f7e667c68c10db5ce76225b3 (patch)
treeeec34e8fc00178e72ee01a8e9208ebed77e832bd /test
parent3e23d42deecb7617d4bb035e64019a537b0e7803 (diff)
downloadllvm-5743854f47c00118f7e667c68c10db5ce76225b3.tar.gz
llvm-5743854f47c00118f7e667c68c10db5ce76225b3.tar.bz2
llvm-5743854f47c00118f7e667c68c10db5ce76225b3.tar.xz
Add workaround for <rdar://problem/7098328>.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77340 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/CodeGen/Thumb2/thumb2-lsr3.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-lsr3.ll b/test/CodeGen/Thumb2/thumb2-lsr3.ll
index 9bc4b5b7c5..a3f7a1a603 100644
--- a/test/CodeGen/Thumb2/thumb2-lsr3.ll
+++ b/test/CodeGen/Thumb2/thumb2-lsr3.ll
@@ -2,7 +2,7 @@
define i1 @test1(i64 %poscnt, i32 %work) {
entry:
-; CHECK: rrx r0, r0
+; CHECK: mov.w r0, r0, rrx
; CHECK: lsrs.w r1, r1, #1
%0 = lshr i64 %poscnt, 1
%1 = icmp eq i64 %0, 0
@@ -11,7 +11,7 @@ entry:
define i1 @test2(i64 %poscnt, i32 %work) {
entry:
-; CHECK: rrx r0, r0
+; CHECK: mov.w r0, r0, rrx
; CHECK: asrs.w r1, r1, #1
%0 = ashr i64 %poscnt, 1
%1 = icmp eq i64 %0, 0