Relax dwarf line fragments. This fixes a crash in the included testcase.
[oota-llvm.git] / test / CodeGen / Thumb2 / thumb2-ifcvt2.ll
index 9e26da0782e029d2eaf77f4103b0b66b38ef0a15..2c5734881d53202c152705f7b859c9041d1f94de 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-as < %s | llc -march=thumb -mattr=+thumb2 | FileCheck %s
+; RUN: llc < %s -mtriple=thumbv7-apple-darwin | FileCheck %s
 
 define void @foo(i32 %X, i32 %Y) {
 entry:
@@ -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
@@ -31,7 +31,8 @@ entry:
 ; CHECK: CountTree:
 ; CHECK: it eq
 ; CHECK: cmpeq
-; CHECK: beq.n
+; CHECK: bne
+; CHECK: cmp
 ; CHECK: itt eq
 ; CHECK: moveq
 ; CHECK: popeq
@@ -82,7 +83,7 @@ define fastcc void @t2() nounwind {
 entry:
 ; CHECK: t2:
 ; CHECK: cmp r0, #0
-; CHECK: bne.n
+; CHECK: beq
        br i1 undef, label %bb.i.i3, label %growMapping.exit
 
 bb.i.i3:               ; preds = %entry