aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/ARM/long_shift.ll
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2013-10-11 15:40:12 +0000
committerMatthias Braun <matze@braunis.de>2013-10-11 15:40:12 +0000
commit5b51fd5b550a9589f95e677fca801cea565e8d9f (patch)
treec12753c0aa73ee6f971447194397295f626af690 /test/CodeGen/ARM/long_shift.ll
parent21d60f02c36c2362899109239d16824caa56d8ab (diff)
downloadexternal_llvm-5b51fd5b550a9589f95e677fca801cea565e8d9f.zip
external_llvm-5b51fd5b550a9589f95e677fca801cea565e8d9f.tar.gz
external_llvm-5b51fd5b550a9589f95e677fca801cea565e8d9f.tar.bz2
Tests: Be less dependent on a specific schedule/regalloc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192454 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/ARM/long_shift.ll')
-rw-r--r--test/CodeGen/ARM/long_shift.ll12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/CodeGen/ARM/long_shift.ll b/test/CodeGen/ARM/long_shift.ll
index 3e986d80..66bb336 100644
--- a/test/CodeGen/ARM/long_shift.ll
+++ b/test/CodeGen/ARM/long_shift.ll
@@ -24,9 +24,9 @@ define i32 @f2(i64 %x, i64 %y) {
; CHECK-LABEL: f2:
; CHECK: lsr{{.*}}r2
; CHECK-NEXT: rsb r3, r2, #32
-; CHECK-NEXT: sub r2, r2, #32
-; CHECK-NEXT: orr r0, r0, r1, lsl r3
-; CHECK-NEXT: cmp r2, #0
+; CHECK-DAG: sub r2, r2, #32
+; CHECK-DAG: orr r0, r0, r1, lsl r3
+; CHECK: cmp r2, #0
; CHECK-NEXT: asrge r0, r1, r2
%a = ashr i64 %x, %y
%b = trunc i64 %a to i32
@@ -37,9 +37,9 @@ define i32 @f3(i64 %x, i64 %y) {
; CHECK-LABEL: f3:
; CHECK: lsr{{.*}}r2
; CHECK-NEXT: rsb r3, r2, #32
-; CHECK-NEXT: sub r2, r2, #32
-; CHECK-NEXT: orr r0, r0, r1, lsl r3
-; CHECK-NEXT: cmp r2, #0
+; CHECK-DAG: sub r2, r2, #32
+; CHECK-DAG: orr r0, r0, r1, lsl r3
+; CHECK: cmp r2, #0
; CHECK-NEXT: lsrge r0, r1, r2
%a = lshr i64 %x, %y
%b = trunc i64 %a to i32