Refactor AnalyzeBranch on ARM. The previous version did not always analyze
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-teq.ll
index 00c928fc0782a7b7f07df71c62f3713109d09e68..5acda35b4948447337d98bf0307123c94c2d0803 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llc < %s -march=thumb -mattr=+thumb2 -join-physregs | FileCheck %s
+; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
 
-; These tests implicitly depend on 'movs r0, #0' being rematerialized below the
-; test as 'mov.w r0, #0'. So far, that requires physreg joining.
+; These tests would be improved by 'movs r0, #0' being rematerialized below the
+; test as 'mov.w r0, #0'.
 
 ; 0x000000bb = 187
 define i1 @f2(i32 %a) {
@@ -9,8 +9,8 @@ define i1 @f2(i32 %a) {
     %tmp1 = icmp eq i32 0, %tmp
     ret i1 %tmp1
 }
-; CHECK: f2:
-; CHECK:       teq.w   r0, #187
+; CHECK-LABEL: f2:
+; CHECK:       teq.w   {{.*}}, #187
 
 ; 0x00aa00aa = 11141290
 define i1 @f3(i32 %a) {
@@ -18,8 +18,8 @@ define i1 @f3(i32 %a) {
     %tmp1 = icmp eq i32 %tmp, 0
     ret i1 %tmp1
 }
-; CHECK: f3:
-; CHECK:       teq.w   r0, #11141290
+; CHECK-LABEL: f3:
+; CHECK:       teq.w   {{.*}}, #11141290
 
 ; 0xcc00cc00 = 3422604288
 define i1 @f6(i32 %a) {
@@ -27,8 +27,8 @@ define i1 @f6(i32 %a) {
     %tmp1 = icmp eq i32 0, %tmp
     ret i1 %tmp1
 }
-; CHECK: f6:
-; CHECK:       teq.w   r0, #-872363008
+; CHECK-LABEL: f6:
+; CHECK:       teq.w   {{.*}}, #-872363008
 
 ; 0xdddddddd = 3722304989
 define i1 @f7(i32 %a) {
@@ -36,8 +36,8 @@ define i1 @f7(i32 %a) {
     %tmp1 = icmp eq i32 %tmp, 0
     ret i1 %tmp1
 }
-; CHECK: f7:
-; CHECK:       teq.w   r0, #-572662307
+; CHECK-LABEL: f7:
+; CHECK:       teq.w   {{.*}}, #-572662307
 
 ; 0xdddddddd = 3722304989
 define i1 @f8(i32 %a) {
@@ -52,6 +52,6 @@ define i1 @f10(i32 %a) {
     %tmp1 = icmp eq i32 0, %tmp
     ret i1 %tmp1
 }
-; CHECK: f10:
-; CHECK:       teq.w   r0, #1114112
+; CHECK-LABEL: f10:
+; CHECK:       teq.w   {{.*}}, #1114112