From e9789ef994ba9761af87baf6e6b5953adba3968b Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Sat, 6 Nov 2004 23:32:43 +0000 Subject: [PATCH] Adding RUN lines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17536 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/ExecutionEngine/2002-12-16-ArgTest.ll | 3 +++ test/ExecutionEngine/2003-01-04-ArgumentBug.ll | 3 +++ test/ExecutionEngine/2003-01-04-LoopTest.ll | 3 +++ test/ExecutionEngine/2003-01-04-PhiTest.ll | 3 +++ test/ExecutionEngine/2003-01-09-SARTest.ll | 3 +++ test/ExecutionEngine/2003-01-10-FUCOM.ll | 3 +++ test/ExecutionEngine/2003-01-15-AlignmentTest.ll | 3 +++ test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll | 3 +++ test/ExecutionEngine/2003-06-04-bzip2-bug.ll | 3 +++ test/ExecutionEngine/2003-06-05-PHIBug.ll | 3 +++ test/ExecutionEngine/2003-08-15-AllocaAssertion.ll | 3 +++ test/ExecutionEngine/2003-08-21-EnvironmentTest.ll | 3 +++ test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll | 3 +++ .../2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll | 3 +++ test/ExecutionEngine/hello.ll | 3 +++ test/ExecutionEngine/hello2.ll | 3 +++ test/ExecutionEngine/simplesttest.ll | 3 +++ test/ExecutionEngine/simpletest.ll | 3 +++ test/ExecutionEngine/test-arith.ll | 3 +++ test/ExecutionEngine/test-branch.ll | 3 +++ test/ExecutionEngine/test-call.ll | 3 +++ test/ExecutionEngine/test-cast.ll | 3 +++ test/ExecutionEngine/test-constantexpr.ll | 3 +++ test/ExecutionEngine/test-fp.ll | 3 +++ test/ExecutionEngine/test-loadstore.ll | 3 +++ test/ExecutionEngine/test-logical.ll | 3 +++ test/ExecutionEngine/test-loop.ll | 3 +++ test/ExecutionEngine/test-malloc.ll | 3 +++ test/ExecutionEngine/test-phi.ll | 3 +++ test/ExecutionEngine/test-ret.ll | 3 +++ test/ExecutionEngine/test-setcond-fp.ll | 3 +++ test/ExecutionEngine/test-setcond-int.ll | 3 +++ test/ExecutionEngine/test-shift.ll | 3 +++ 33 files changed, 99 insertions(+) diff --git a/test/ExecutionEngine/2002-12-16-ArgTest.ll b/test/ExecutionEngine/2002-12-16-ArgTest.ll index 512561476b2..79f093e1506 100644 --- a/test/ExecutionEngine/2002-12-16-ArgTest.ll +++ b/test/ExecutionEngine/2002-12-16-ArgTest.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + %.LC0 = internal global [10 x sbyte] c"argc: %d\0A\00" implementation ; Functions: diff --git a/test/ExecutionEngine/2003-01-04-ArgumentBug.ll b/test/ExecutionEngine/2003-01-04-ArgumentBug.ll index 792913d2b5e..411ac524a3b 100644 --- a/test/ExecutionEngine/2003-01-04-ArgumentBug.ll +++ b/test/ExecutionEngine/2003-01-04-ArgumentBug.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + implementation ; Functions: diff --git a/test/ExecutionEngine/2003-01-04-LoopTest.ll b/test/ExecutionEngine/2003-01-04-LoopTest.ll index 4aedd2dbf36..82bd5b8d513 100644 --- a/test/ExecutionEngine/2003-01-04-LoopTest.ll +++ b/test/ExecutionEngine/2003-01-04-LoopTest.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + implementation int %main() { diff --git a/test/ExecutionEngine/2003-01-04-PhiTest.ll b/test/ExecutionEngine/2003-01-04-PhiTest.ll index 34e16201313..c8c76ee6e12 100644 --- a/test/ExecutionEngine/2003-01-04-PhiTest.ll +++ b/test/ExecutionEngine/2003-01-04-PhiTest.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + int %main() { br label %Loop Loop: diff --git a/test/ExecutionEngine/2003-01-09-SARTest.ll b/test/ExecutionEngine/2003-01-09-SARTest.ll index b19a93172fe..00899ec2431 100644 --- a/test/ExecutionEngine/2003-01-09-SARTest.ll +++ b/test/ExecutionEngine/2003-01-09-SARTest.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + ; We were accidentally inverting the signedness of right shifts. Whoops. int %main() { diff --git a/test/ExecutionEngine/2003-01-10-FUCOM.ll b/test/ExecutionEngine/2003-01-10-FUCOM.ll index 37448f040ef..0e436f4d43b 100644 --- a/test/ExecutionEngine/2003-01-10-FUCOM.ll +++ b/test/ExecutionEngine/2003-01-10-FUCOM.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + int %main() { %X = add double 0.0, 1.0 diff --git a/test/ExecutionEngine/2003-01-15-AlignmentTest.ll b/test/ExecutionEngine/2003-01-15-AlignmentTest.ll index 5304a819f19..11217eb1336 100644 --- a/test/ExecutionEngine/2003-01-15-AlignmentTest.ll +++ b/test/ExecutionEngine/2003-01-15-AlignmentTest.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + int %bar(sbyte* %X) { %P = alloca double ; pointer should be 4 byte aligned! diff --git a/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll b/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll index d59a63518a5..6b1b0abcbab 100644 --- a/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll +++ b/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + target endian = little target pointersize = 32 diff --git a/test/ExecutionEngine/2003-06-04-bzip2-bug.ll b/test/ExecutionEngine/2003-06-04-bzip2-bug.ll index 2e71d91d39e..dfe78294196 100644 --- a/test/ExecutionEngine/2003-06-04-bzip2-bug.ll +++ b/test/ExecutionEngine/2003-06-04-bzip2-bug.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + ; Testcase distilled from 256.bzip2. target endian = little diff --git a/test/ExecutionEngine/2003-06-05-PHIBug.ll b/test/ExecutionEngine/2003-06-05-PHIBug.ll index 0abe5d819c4..6e4e5e1bac1 100644 --- a/test/ExecutionEngine/2003-06-05-PHIBug.ll +++ b/test/ExecutionEngine/2003-06-05-PHIBug.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + ; Testcase distilled from 256.bzip2. target endian = little diff --git a/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll b/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll index 35248d1922f..80b51532d8e 100644 --- a/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll +++ b/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + ; This testcase failed to work because two variable sized allocas confused the ; local register allocator. diff --git a/test/ExecutionEngine/2003-08-21-EnvironmentTest.ll b/test/ExecutionEngine/2003-08-21-EnvironmentTest.ll index 388f82c6d03..384acd22a9a 100644 --- a/test/ExecutionEngine/2003-08-21-EnvironmentTest.ll +++ b/test/ExecutionEngine/2003-08-21-EnvironmentTest.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + ; ; Regression Test: EnvironmentTest.ll ; diff --git a/test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll b/test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll index fa7df629138..1a7e05e213e 100644 --- a/test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll +++ b/test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + ; This testcase exposes a bug in the local register allocator where it runs out ; of registers (due to too many overlapping live ranges), but then attempts to ; use the ESP register (which is not allocatable) to hold a value. diff --git a/test/ExecutionEngine/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll b/test/ExecutionEngine/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll index 4344f9ef9d2..b1cfe0d1ae9 100644 --- a/test/ExecutionEngine/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll +++ b/test/ExecutionEngine/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + %A = global int 0 int %main() { diff --git a/test/ExecutionEngine/hello.ll b/test/ExecutionEngine/hello.ll index 1f8c77be207..0f62dcbb487 100644 --- a/test/ExecutionEngine/hello.ll +++ b/test/ExecutionEngine/hello.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + %.LC0 = internal global [12 x sbyte] c"Hello World\00" implementation diff --git a/test/ExecutionEngine/hello2.ll b/test/ExecutionEngine/hello2.ll index 48d7688bcc6..eaeb238ac05 100644 --- a/test/ExecutionEngine/hello2.ll +++ b/test/ExecutionEngine/hello2.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + %X = global int 7 %msg = internal global [13 x sbyte] c"Hello World\0A\00" diff --git a/test/ExecutionEngine/simplesttest.ll b/test/ExecutionEngine/simplesttest.ll index e5d8cb0aac8..207229f5996 100644 --- a/test/ExecutionEngine/simplesttest.ll +++ b/test/ExecutionEngine/simplesttest.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + implementation diff --git a/test/ExecutionEngine/simpletest.ll b/test/ExecutionEngine/simpletest.ll index 79ff9acaaac..47a5c64038f 100644 --- a/test/ExecutionEngine/simpletest.ll +++ b/test/ExecutionEngine/simpletest.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + implementation int %bar() { ret int 0 } diff --git a/test/ExecutionEngine/test-arith.ll b/test/ExecutionEngine/test-arith.ll index c3c9ad8ebac..ea34dadcbf4 100644 --- a/test/ExecutionEngine/test-arith.ll +++ b/test/ExecutionEngine/test-arith.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + int %main() { %A = add sbyte 0, 12 %B = sub sbyte %A, 1 diff --git a/test/ExecutionEngine/test-branch.ll b/test/ExecutionEngine/test-branch.ll index d3559d8c751..3f08ecc4d5c 100644 --- a/test/ExecutionEngine/test-branch.ll +++ b/test/ExecutionEngine/test-branch.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + ; test unconditional branch int %main() { br label %Test diff --git a/test/ExecutionEngine/test-call.ll b/test/ExecutionEngine/test-call.ll index 50f0e6e9e1b..89e128a5a12 100644 --- a/test/ExecutionEngine/test-call.ll +++ b/test/ExecutionEngine/test-call.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + declare void %exit(int) diff --git a/test/ExecutionEngine/test-cast.ll b/test/ExecutionEngine/test-cast.ll index 933d1e8a522..3fe52a00916 100644 --- a/test/ExecutionEngine/test-cast.ll +++ b/test/ExecutionEngine/test-cast.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + int %foo() { diff --git a/test/ExecutionEngine/test-constantexpr.ll b/test/ExecutionEngine/test-constantexpr.ll index ce723f916f9..d7d9481bee8 100644 --- a/test/ExecutionEngine/test-constantexpr.ll +++ b/test/ExecutionEngine/test-constantexpr.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + ; This tests to make sure that we can evaluate wierd constant expressions %A = global int 5 %B = global int 6 diff --git a/test/ExecutionEngine/test-fp.ll b/test/ExecutionEngine/test-fp.ll index 71141da7e3b..2192b1c2e66 100644 --- a/test/ExecutionEngine/test-fp.ll +++ b/test/ExecutionEngine/test-fp.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + double %test(double* %DP, double %Arg) { %D = load double* %DP diff --git a/test/ExecutionEngine/test-loadstore.ll b/test/ExecutionEngine/test-loadstore.ll index 35a2c5fcb15..ac558b01855 100644 --- a/test/ExecutionEngine/test-loadstore.ll +++ b/test/ExecutionEngine/test-loadstore.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + void %test(sbyte* %P, short* %P, int* %P, long* %P) { %V = load sbyte* %P diff --git a/test/ExecutionEngine/test-logical.ll b/test/ExecutionEngine/test-logical.ll index e6b628ac1c8..bad6a9ab85d 100644 --- a/test/ExecutionEngine/test-logical.ll +++ b/test/ExecutionEngine/test-logical.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + int %main() { %A = and sbyte 4, 8 diff --git a/test/ExecutionEngine/test-loop.ll b/test/ExecutionEngine/test-loop.ll index b84da830e02..059de489cb0 100644 --- a/test/ExecutionEngine/test-loop.ll +++ b/test/ExecutionEngine/test-loop.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + int %main() { diff --git a/test/ExecutionEngine/test-malloc.ll b/test/ExecutionEngine/test-malloc.ll index 701d02b6fe0..69c412abdcf 100644 --- a/test/ExecutionEngine/test-malloc.ll +++ b/test/ExecutionEngine/test-malloc.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + int %main() { %X = malloc int ; constant size diff --git a/test/ExecutionEngine/test-phi.ll b/test/ExecutionEngine/test-phi.ll index 9e214382e03..0e4fa7a9865 100644 --- a/test/ExecutionEngine/test-phi.ll +++ b/test/ExecutionEngine/test-phi.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + ; test phi node %Y = global int 6 diff --git a/test/ExecutionEngine/test-ret.ll b/test/ExecutionEngine/test-ret.ll index 02195dd4645..6fbaf717d75 100644 --- a/test/ExecutionEngine/test-ret.ll +++ b/test/ExecutionEngine/test-ret.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + ; test return instructions void %test() { ret void } diff --git a/test/ExecutionEngine/test-setcond-fp.ll b/test/ExecutionEngine/test-setcond-fp.ll index 66724d89543..e0243459448 100644 --- a/test/ExecutionEngine/test-setcond-fp.ll +++ b/test/ExecutionEngine/test-setcond-fp.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + int %main() { %double1 = add double 0.0, 0.0 diff --git a/test/ExecutionEngine/test-setcond-int.ll b/test/ExecutionEngine/test-setcond-int.ll index 2de9d4d630c..6436131185d 100644 --- a/test/ExecutionEngine/test-setcond-int.ll +++ b/test/ExecutionEngine/test-setcond-int.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + int %main() { %int1 = add int 0, 0 diff --git a/test/ExecutionEngine/test-shift.ll b/test/ExecutionEngine/test-shift.ll index e67608ef4d0..c55629d624c 100644 --- a/test/ExecutionEngine/test-shift.ll +++ b/test/ExecutionEngine/test-shift.ll @@ -1,3 +1,6 @@ +; RUN: llvm-as -f %s -o %t.bc +; RUN: lli %t.bc > /dev/null + ; test shifts int %main() { %shamt = add ubyte 0, 1