Remove a few more redundant ExecutionEngine regression tests.
authorLang Hames <lhames@gmail.com>
Sat, 24 Jan 2015 22:41:13 +0000 (22:41 +0000)
committerLang Hames <lhames@gmail.com>
Sat, 24 Jan 2015 22:41:13 +0000 (22:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227021 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/2005-12-02-TailCallBug.ll [deleted file]
test/ExecutionEngine/MCJIT/2010-01-15-UndefValue.ll [deleted file]
test/ExecutionEngine/test-fp-no-external-funcs.ll [deleted file]
test/ExecutionEngine/test-global-init-nonzero.ll [deleted file]

diff --git a/test/ExecutionEngine/2005-12-02-TailCallBug.ll b/test/ExecutionEngine/2005-12-02-TailCallBug.ll
deleted file mode 100644 (file)
index 2ac8ad1..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-; PR672
-; RUN: %lli %s
-
-define i32 @main() {
-       %f = bitcast i32 (i32, i32*, i32)* @check_tail to i32*          ; <i32*> [#uses=1]
-       %res = tail call fastcc i32 @check_tail( i32 10, i32* %f, i32 10 )              ; <i32> [#uses=1]
-       ret i32 %res
-}
-
-define fastcc i32 @check_tail(i32 %x, i32* %f, i32 %g) {
-       %tmp1 = icmp sgt i32 %x, 0              ; <i1> [#uses=1]
-       br i1 %tmp1, label %if-then, label %if-else
-if-then:               ; preds = %0
-       %fun_ptr = bitcast i32* %f to i32 (i32, i32*, i32)*             ; <i32 (i32, i32*, i32)*> [#uses=1]
-       %arg1 = add i32 %x, -1          ; <i32> [#uses=1]
-       %res = tail call fastcc i32 %fun_ptr( i32 %arg1, i32* %f, i32 %g )              ; <i32> [#uses=1]
-       ret i32 %res
-if-else:               ; preds = %0
-       ret i32 %x
-}
-
diff --git a/test/ExecutionEngine/MCJIT/2010-01-15-UndefValue.ll b/test/ExecutionEngine/MCJIT/2010-01-15-UndefValue.ll
deleted file mode 100644 (file)
index 8bf03de..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-; RUN: %lli -force-interpreter=true %s > /dev/null
-
-define i32 @main() {
-       %a = add i32 0, undef
-       %b = fadd float 0.0, undef
-       %c = fadd double 0.0, undef
-       ret i32 0
-}
diff --git a/test/ExecutionEngine/test-fp-no-external-funcs.ll b/test/ExecutionEngine/test-fp-no-external-funcs.ll
deleted file mode 100644 (file)
index 61b12c2..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-; RUN: %lli  %s > /dev/null
-
-define double @test(double* %DP, double %Arg) {
-       %D = load double* %DP           ; <double> [#uses=1]
-       %V = fadd double %D, 1.000000e+00               ; <double> [#uses=2]
-       %W = fsub double %V, %V         ; <double> [#uses=3]
-       %X = fmul double %W, %W         ; <double> [#uses=2]
-       %Y = fdiv double %X, %X         ; <double> [#uses=2]
-       %Q = fadd double %Y, %Arg               ; <double> [#uses=1]
-       %R = bitcast double %Q to double                ; <double> [#uses=1]
-       store double %Q, double* %DP
-       ret double %Y
-}
-
-define i32 @main() {
-       %X = alloca double              ; <double*> [#uses=2]
-       store double 0.000000e+00, double* %X
-       call double @test( double* %X, double 2.000000e+00 )            ; <double>:1 [#uses=0]
-       ret i32 0
-}
-
diff --git a/test/ExecutionEngine/test-global-init-nonzero.ll b/test/ExecutionEngine/test-global-init-nonzero.ll
deleted file mode 100644 (file)
index 749a485..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-; RUN: %lli  %s > /dev/null
-
-@count = global i32 1, align 4
-
-define i32 @main() nounwind uwtable {
-entry:
-  %retval = alloca i32, align 4
-  %i = alloca i32, align 4
-  store i32 0, i32* %retval
-  store i32 0, i32* %i, align 4
-  br label %for.cond
-
-for.cond:                                         ; preds = %for.inc, %entry
-  %0 = load i32* %i, align 4
-  %cmp = icmp slt i32 %0, 49
-  br i1 %cmp, label %for.body, label %for.end
-
-for.body:                                         ; preds = %for.cond
-  %1 = load i32* @count, align 4
-  %inc = add nsw i32 %1, 1
-  store i32 %inc, i32* @count, align 4
-  br label %for.inc
-
-for.inc:                                          ; preds = %for.body
-  %2 = load i32* %i, align 4
-  %inc1 = add nsw i32 %2, 1
-  store i32 %inc1, i32* %i, align 4
-  br label %for.cond
-
-for.end:                                          ; preds = %for.cond
-  %3 = load i32* @count, align 4
-  %sub = sub nsw i32 %3, 50
-  ret i32 %sub
-}