Clang and AArch64 backend patches to support shll/shl and vmovl instructions and...
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-ifcvt2.ll
index d917ffe56bbcbbcf1b7abe78815737ffa1d0d66e..788fa0674e626be0ccd65b068781b12aedb73c6d 100644 (file)
@@ -1,8 +1,8 @@
-; RUN: llc < %s -mtriple=thumbv7-apple-darwin | FileCheck %s
+; RUN: llc < %s -mtriple=thumbv7-apple-ios | FileCheck %s
 
 define void @foo(i32 %X, i32 %Y) {
 entry:
-; CHECK: foo:
+; CHECK-LABEL: foo:
 ; CHECK: it ne
 ; CHECK: cmpne
 ; CHECK: it hi
@@ -13,7 +13,7 @@ entry:
        br i1 %tmp7, label %cond_true, label %UnifiedReturnBlock
 
 cond_true:             ; preds = %entry
-       %tmp10 = tail call i32 (...)* @bar( )           ; <i32> [#uses=0]
+       %tmp10 = call i32 (...)* @bar( )                ; <i32> [#uses=0]
        ret void
 
 UnifiedReturnBlock:            ; preds = %entry
@@ -28,10 +28,11 @@ declare i32 @bar(...)
 
 define fastcc i32 @CountTree(%struct.quad_struct* %tree) {
 entry:
-; CHECK: CountTree:
+; CHECK-LABEL: CountTree:
+; CHECK: bne
+; CHECK: cmp
 ; CHECK: it eq
 ; CHECK: cmpeq
-; CHECK: bne
 ; CHECK: itt eq
 ; CHECK: moveq
 ; CHECK: popeq
@@ -64,7 +65,7 @@ declare void @abort()
 
 define fastcc void @t1(%struct.SString* %word, i8 signext  %c) {
 entry:
-; CHECK: t1:
+; CHECK-LABEL: t1:
 ; CHECK: it ne
 ; CHECK: popne {r7, pc}
        %tmp1 = icmp eq %struct.SString* %word, null            ; <i1> [#uses=1]
@@ -80,9 +81,9 @@ cond_false:           ; preds = %entry
 
 define fastcc void @t2() nounwind {
 entry:
-; CHECK: t2:
+; CHECK-LABEL: t2:
 ; CHECK: cmp r0, #0
-; CHECK: beq
+; CHECK: %growMapping.exit
        br i1 undef, label %bb.i.i3, label %growMapping.exit
 
 bb.i.i3:               ; preds = %entry