Enable generating legacy IT block for AArch32
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-ifcvt3.ll
index 3a38be17326ba67cece850feb6afc8cdbc3f19c8..a71aa3fb613ad81787fa588f9aa69b89bca0dae0 100644 (file)
@@ -1,4 +1,6 @@
-; RUN: llvm-as < %s | llc -mtriple=thumbv7-apple-darwin | FileCheck %s
+; 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-apple-darwin -arm-no-restrict-it | FileCheck %s
 
 ; There shouldn't be a unconditional branch at end of bb52.
 ; rdar://7184787
@@ -20,10 +22,9 @@ bb52.bb53_crit_edge.exitStub:                     ; preds = %bb52
   ret i1 false
 
 bb52:                                             ; preds = %newFuncRoot
-; CHECK: moveq
 ; CHECK: movne
-; CHECK-NEXT: LBB1_2:
-; CHECK-NEXT: pop
+; CHECK: moveq
+; CHECK: pop
   %0 = load i64* @posed, align 4                  ; <i64> [#uses=3]
   %1 = sub i64 %0, %.reload78                     ; <i64> [#uses=1]
   %2 = ashr i64 %1, 1                             ; <i64> [#uses=3]