diff options
Diffstat (limited to 'test/CodeGen/Thumb2/thumb2-ifcvt1.ll')
-rw-r--r-- | test/CodeGen/Thumb2/thumb2-ifcvt1.ll | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/CodeGen/Thumb2/thumb2-ifcvt1.ll b/test/CodeGen/Thumb2/thumb2-ifcvt1.ll index af8fcc641247..13a1ca2e26cd 100644 --- a/test/CodeGen/Thumb2/thumb2-ifcvt1.ll +++ b/test/CodeGen/Thumb2/thumb2-ifcvt1.ll @@ -1,7 +1,8 @@ ; RUN: llc < %s -mtriple=thumbv7-apple-darwin | FileCheck %s - +; RUN: llc < %s -mtriple=thumbv7-apple-darwin -arm-default-it | FileCheck %s +; RUN: llc < %s -mtriple=thumbv8 -arm-no-restrict-it |FileCheck %s define i32 @t1(i32 %a, i32 %b, i32 %c, i32 %d) nounwind { -; CHECK: t1: +; CHECK-LABEL: t1: ; CHECK: ittt ne ; CHECK: cmpne ; CHECK: addne @@ -24,7 +25,7 @@ cond_next: define i32 @t2(i32 %a, i32 %b) nounwind { entry: ; Do not if-convert when branches go to the different loops. -; CHECK: t2: +; CHECK-LABEL: t2: ; CHECK-NOT: ite gt ; CHECK-NOT: subgt ; CHECK-NOT: suble @@ -71,10 +72,10 @@ entry: define void @t3(i32 %a, i32 %b) nounwind { entry: -; CHECK: t3: +; CHECK-LABEL: t3: ; CHECK: itt ge ; CHECK: movge r0, r1 -; CHECK: blge _foo +; CHECK: blge {{_?}}foo %tmp1 = icmp sgt i32 %a, 10 ; <i1> [#uses=1] br i1 %tmp1, label %cond_true, label %UnifiedReturnBlock |