aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-19 19:44:28 +0000
committerChris Lattner <sabre@nondot.org>2003-11-19 19:44:28 +0000
commit607c31748863b9254511f97f2ed86b186034247d (patch)
tree27588be9e62c0ef82323103c249447d5e92b03a6 /test
parent639b052e7bc202bb6d20cac67e9152cbbc74e1c1 (diff)
downloadexternal_llvm-607c31748863b9254511f97f2ed86b186034247d.zip
external_llvm-607c31748863b9254511f97f2ed86b186034247d.tar.gz
external_llvm-607c31748863b9254511f97f2ed86b186034247d.tar.bz2
Genericize tests
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10091 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/ExecutionEngine/2003-01-04-PhiTest.ll2
-rw-r--r--test/ExecutionEngine/2003-05-06-LivenessClobber.llx5
-rw-r--r--test/ExecutionEngine/2003-05-07-ArgumentTest.llx5
-rw-r--r--test/Jello/2003-08-04-PhysRegLiveFailure.llx15
4 files changed, 2 insertions, 25 deletions
diff --git a/test/ExecutionEngine/2003-01-04-PhiTest.ll b/test/ExecutionEngine/2003-01-04-PhiTest.ll
index 144ace7..34e1620 100644
--- a/test/ExecutionEngine/2003-01-04-PhiTest.ll
+++ b/test/ExecutionEngine/2003-01-04-PhiTest.ll
@@ -1,5 +1,3 @@
-; RUN: llvm-as < %s | lli -force-interpreter=false
-
int %main() {
br label %Loop
Loop:
diff --git a/test/ExecutionEngine/2003-05-06-LivenessClobber.llx b/test/ExecutionEngine/2003-05-06-LivenessClobber.llx
index d3e5e04..3164dd8 100644
--- a/test/ExecutionEngine/2003-05-06-LivenessClobber.llx
+++ b/test/ExecutionEngine/2003-05-06-LivenessClobber.llx
@@ -1,9 +1,6 @@
; This testcase shoudl return with an exit code of 1.
;
-; RUN: llvm-as < %s | not lli -force-interpreter=false
-
-target endian = little
-target pointersize = 32
+; RUN: llvm-as < %s | not lli
%test = global long 0
implementation
diff --git a/test/ExecutionEngine/2003-05-07-ArgumentTest.llx b/test/ExecutionEngine/2003-05-07-ArgumentTest.llx
index ac8ac34..47b40c3 100644
--- a/test/ExecutionEngine/2003-05-07-ArgumentTest.llx
+++ b/test/ExecutionEngine/2003-05-07-ArgumentTest.llx
@@ -1,7 +1,4 @@
-; RUN: llvm-as < %s | lli -force-interpreter=false - test
-
-target endian = little
-target pointersize = 32
+; RUN: llvm-as < %s | lli - test
implementation
diff --git a/test/Jello/2003-08-04-PhysRegLiveFailure.llx b/test/Jello/2003-08-04-PhysRegLiveFailure.llx
deleted file mode 100644
index 2bc3aeb..0000000
--- a/test/Jello/2003-08-04-PhysRegLiveFailure.llx
+++ /dev/null
@@ -1,15 +0,0 @@
-; RUN: llvm-as < %s | llc -march=x86
-
-target endian = big ; We need the byteswaps for this test!
-target pointersize = 64
-
-implementation
-
-long %main(long %s.1, long %e.1, ushort* %foo) {
- %tmp.28 = load ushort* %foo
- %tmp.39 = cast uint 0 to ushort*
- %tmp.42 = sub long %e.1, %s.1
- %tmp.441 = setge long %tmp.42, 0
- %tmp.54 = getelementptr ushort* %tmp.39, long 0
- ret long %s.1
-}