diff --git a/test/CodeGen/ARM/ifcvt6.ll b/test/CodeGen/ARM/ifcvt6.ll deleted file mode 100644 index e2c0ba398c6..00000000000 --- a/test/CodeGen/ARM/ifcvt6.ll +++ /dev/null @@ -1,21 +0,0 @@ -; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \ -; RUN: grep cmpne | count 1 -; RUN: llc < %s -march=arm -mtriple=arm-apple-darwin | \ -; RUN: grep ldmiahi | count 1 - -define void @foo(i32 %X, i32 %Y) { -entry: - %tmp1 = icmp ult i32 %X, 4 ; [#uses=1] - %tmp4 = icmp eq i32 %Y, 0 ; [#uses=1] - %tmp7 = or i1 %tmp4, %tmp1 ; [#uses=1] - br i1 %tmp7, label %cond_true, label %UnifiedReturnBlock - -cond_true: ; preds = %entry - %tmp10 = call i32 (...)* @bar( ) ; [#uses=0] - ret void - -UnifiedReturnBlock: ; preds = %entry - ret void -} - -declare i32 @bar(...) diff --git a/test/CodeGen/ARM/insn-sched1-tc.ll b/test/CodeGen/ARM/insn-sched1-tc.ll deleted file mode 100644 index c457c8c5a55..00000000000 --- a/test/CodeGen/ARM/insn-sched1-tc.ll +++ /dev/null @@ -1,11 +0,0 @@ -; RUN: llc < %s -march=arm -mattr=+v6 -; RUN: llc < %s -mtriple=arm-apple-darwin -mattr=+v6 |\ -; RUN: grep mov | count 2 - -define i32 @test(i32 %x) { - %tmp = trunc i32 %x to i16 ; [#uses=1] - %tmp2 = tail call i32 @f( i32 1, i16 %tmp ) ; [#uses=1] - ret i32 %tmp2 -} - -declare i32 @f(i32, i16) diff --git a/test/CodeGen/ARM/ldm-tc.ll b/test/CodeGen/ARM/ldm-tc.ll deleted file mode 100644 index 3819192429e..00000000000 --- a/test/CodeGen/ARM/ldm-tc.ll +++ /dev/null @@ -1,37 +0,0 @@ -; RUN: llc < %s -mtriple=arm-apple-darwin | FileCheck %s - -@X = external global [0 x i32] ; <[0 x i32]*> [#uses=5] - -define i32 @t1() { -; CHECK: t1: -; CHECK: ldmia - %tmp = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 0) ; [#uses=1] - %tmp3 = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 1) ; [#uses=1] - %tmp4 = tail call i32 @f1( i32 %tmp, i32 %tmp3 ) ; [#uses=1] - ret i32 %tmp4 -} - -define i32 @t2() { -; CHECK: t2: -; CHECK: ldmia - %tmp = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 2) ; [#uses=1] - %tmp3 = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 3) ; [#uses=1] - %tmp5 = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 4) ; [#uses=1] - %tmp6 = tail call i32 @f2( i32 %tmp, i32 %tmp3, i32 %tmp5 ) ; [#uses=1] - ret i32 %tmp6 -} - -define i32 @t3() { -; CHECK: t3: -; CHECK: ldmib -; CHECK: b.w _f2 @ TAILCALL - %tmp = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 1) ; [#uses=1] - %tmp3 = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 2) ; [#uses=1] - %tmp5 = load i32* getelementptr ([0 x i32]* @X, i32 0, i32 3) ; [#uses=1] - %tmp6 = tail call i32 @f2( i32 %tmp, i32 %tmp3, i32 %tmp5 ) ; [#uses=1] - ret i32 %tmp6 -} - -declare i32 @f1(i32, i32) - -declare i32 @f2(i32, i32, i32)