Fix tests.
authorEvan Cheng <evan.cheng@apple.com>
Sun, 1 Nov 2009 18:13:29 +0000 (18:13 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Sun, 1 Nov 2009 18:13:29 +0000 (18:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85723 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/Thumb2/thumb2-bcc.ll
test/CodeGen/Thumb2/thumb2-cbnz.ll

index e1f9cdbf8c643c8683973c80655a68aefcf93ad8..aae9f5c0af714e0f13e59a330032dcb25e479e89 100644 (file)
@@ -2,8 +2,8 @@
 ; RUN: llc < %s -march=thumb -mattr=+thumb2 | not grep it
 
 define i32 @t1(i32 %a, i32 %b, i32 %c) {
-; CHECK: t1
-; CHECK: beq
+; CHECK: t1:
+; CHECK: cbz
        %tmp2 = icmp eq i32 %a, 0
        br i1 %tmp2, label %cond_false, label %cond_true
 
index 55c1276e41b9cc0cb4058bb7b4ea94d81bff7e2f..64587c13fdd11c20dbbbffa1a8925b7b09065aff 100644 (file)
@@ -20,8 +20,8 @@ bb7:                                              ; preds = %bb3
   br i1 %a, label %bb11, label %bb9
 
 bb9:                                              ; preds = %bb7
-; CHECK: @ BB#3:
-; CHECK: cbnz
+; CHECK:      @ BB#2:
+; CHECK-NEXT: cbnz
   %0 = tail call arm_apcscc  double @floor(double %b) nounwind readnone ; <double> [#uses=0]
   br label %bb11