diff options
Diffstat (limited to 'test/ExecutionEngine')
41 files changed, 42 insertions, 78 deletions
diff --git a/test/ExecutionEngine/2002-12-16-ArgTest.ll b/test/ExecutionEngine/2002-12-16-ArgTest.ll index 455196923e..eba58ccca4 100644 --- a/test/ExecutionEngine/2002-12-16-ArgTest.ll +++ b/test/ExecutionEngine/2002-12-16-ArgTest.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null @.LC0 = internal global [10 x i8] c"argc: %d\0A\00" ; <[10 x i8]*> [#uses=1] diff --git a/test/ExecutionEngine/2003-01-04-ArgumentBug.ll b/test/ExecutionEngine/2003-01-04-ArgumentBug.ll index 5d37e96641..4cfd1ebb69 100644 --- a/test/ExecutionEngine/2003-01-04-ArgumentBug.ll +++ b/test/ExecutionEngine/2003-01-04-ArgumentBug.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @foo(i32 %X, i32 %Y, double %A) { %cond212 = fcmp une double %A, 1.000000e+00 ; <i1> [#uses=1] diff --git a/test/ExecutionEngine/2003-01-04-LoopTest.ll b/test/ExecutionEngine/2003-01-04-LoopTest.ll index 653cf79a52..668c8fd7ad 100644 --- a/test/ExecutionEngine/2003-01-04-LoopTest.ll +++ b/test/ExecutionEngine/2003-01-04-LoopTest.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @main() { call i32 @mylog( i32 4 ) ; <i32>:1 [#uses=0] diff --git a/test/ExecutionEngine/2003-01-04-PhiTest.ll b/test/ExecutionEngine/2003-01-04-PhiTest.ll index b5c9d81324..2bc70d749f 100644 --- a/test/ExecutionEngine/2003-01-04-PhiTest.ll +++ b/test/ExecutionEngine/2003-01-04-PhiTest.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @main() { ; <label>:0 diff --git a/test/ExecutionEngine/2003-01-09-SARTest.ll b/test/ExecutionEngine/2003-01-09-SARTest.ll index 81478972d5..560cd3eae9 100644 --- a/test/ExecutionEngine/2003-01-09-SARTest.ll +++ b/test/ExecutionEngine/2003-01-09-SARTest.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null ; We were accidentally inverting the signedness of right shifts. Whoops. diff --git a/test/ExecutionEngine/2003-01-10-FUCOM.ll b/test/ExecutionEngine/2003-01-10-FUCOM.ll index d996fa53d9..8512f63432 100644 --- a/test/ExecutionEngine/2003-01-10-FUCOM.ll +++ b/test/ExecutionEngine/2003-01-10-FUCOM.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @main() { %X = fadd double 0.000000e+00, 1.000000e+00 ; <double> [#uses=1] diff --git a/test/ExecutionEngine/2003-01-15-AlignmentTest.ll b/test/ExecutionEngine/2003-01-15-AlignmentTest.ll index a55d74df0d..9df21c1ccd 100644 --- a/test/ExecutionEngine/2003-01-15-AlignmentTest.ll +++ b/test/ExecutionEngine/2003-01-15-AlignmentTest.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @bar(i8* %X) { ; pointer should be 4 byte aligned! diff --git a/test/ExecutionEngine/2003-05-06-LivenessClobber.ll b/test/ExecutionEngine/2003-05-06-LivenessClobber.ll index 57fe95b2d9..e670d11d4a 100644 --- a/test/ExecutionEngine/2003-05-06-LivenessClobber.ll +++ b/test/ExecutionEngine/2003-05-06-LivenessClobber.ll @@ -1,6 +1,6 @@ -; This testcase shoudl return with an exit code of 1. +; This testcase should return with an exit code of 1. ; -; RUN: llvm-as < %s | not lli +; RUN: not lli %s @test = global i64 0 ; <i64*> [#uses=1] diff --git a/test/ExecutionEngine/2003-05-07-ArgumentTest.ll b/test/ExecutionEngine/2003-05-07-ArgumentTest.ll index fa15d7110c..baf42e5e83 100644 --- a/test/ExecutionEngine/2003-05-07-ArgumentTest.ll +++ b/test/ExecutionEngine/2003-05-07-ArgumentTest.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | lli - test +; RUN: lli %s test declare i32 @puts(i8*) diff --git a/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll b/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll index 5a13b21b5f..bcdb11468d 100644 --- a/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll +++ b/test/ExecutionEngine/2003-05-11-PHIRegAllocBug.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null target datalayout = "e-p:32:32" diff --git a/test/ExecutionEngine/2003-06-04-bzip2-bug.ll b/test/ExecutionEngine/2003-06-04-bzip2-bug.ll index 6e2da70f73..37dae861c9 100644 --- a/test/ExecutionEngine/2003-06-04-bzip2-bug.ll +++ b/test/ExecutionEngine/2003-06-04-bzip2-bug.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null ; Testcase distilled from 256.bzip2. diff --git a/test/ExecutionEngine/2003-06-05-PHIBug.ll b/test/ExecutionEngine/2003-06-05-PHIBug.ll index 50b48da494..f7bd8b7724 100644 --- a/test/ExecutionEngine/2003-06-05-PHIBug.ll +++ b/test/ExecutionEngine/2003-06-05-PHIBug.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null ; Testcase distilled from 256.bzip2. diff --git a/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll b/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll index 6c90b33cb4..5970628eae 100644 --- a/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll +++ b/test/ExecutionEngine/2003-08-15-AllocaAssertion.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /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 3a4a4e439f..9c8ec1dd9c 100644 --- a/test/ExecutionEngine/2003-08-21-EnvironmentTest.ll +++ b/test/ExecutionEngine/2003-08-21-EnvironmentTest.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /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 b165a1cf30..152482d436 100644 --- a/test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll +++ b/test/ExecutionEngine/2003-08-23-RegisterAllocatePhysReg.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /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 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 aa9d7e7d36..97e84cd409 100644 --- a/test/ExecutionEngine/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll +++ b/test/ExecutionEngine/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null @A = global i32 0 ; <i32*> [#uses=1] diff --git a/test/ExecutionEngine/2005-12-02-TailCallBug.ll b/test/ExecutionEngine/2005-12-02-TailCallBug.ll index 59a40ae814..83236888c6 100644 --- a/test/ExecutionEngine/2005-12-02-TailCallBug.ll +++ b/test/ExecutionEngine/2005-12-02-TailCallBug.ll @@ -1,5 +1,5 @@ ; PR672 -; RUN: llvm-as < %s | lli +; RUN: lli %s define i32 @main() { %f = bitcast i32 (i32, i32*, i32)* @check_tail to i32* ; <i32*> [#uses=1] diff --git a/test/ExecutionEngine/2007-12-10-APIntLoadStore.ll b/test/ExecutionEngine/2007-12-10-APIntLoadStore.ll index f347f5d357..c0dc4cf61a 100644 --- a/test/ExecutionEngine/2007-12-10-APIntLoadStore.ll +++ b/test/ExecutionEngine/2007-12-10-APIntLoadStore.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as %s -o - | lli -force-interpreter +; RUN: lli -force-interpreter %s ; PR1836 define i32 @main() { diff --git a/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll b/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll index e7e434f271..07cc659cd0 100644 --- a/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll +++ b/test/ExecutionEngine/2008-06-05-APInt-OverAShr.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli -force-interpreter=true %t.bc | grep 1 +; RUN: lli -force-interpreter=true %s | grep 1 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" target triple = "i686-pc-linux-gnu" diff --git a/test/ExecutionEngine/2010-01-15-UndefValue.ll b/test/ExecutionEngine/2010-01-15-UndefValue.ll index 33ca63a020..6e7a392125 100644 --- a/test/ExecutionEngine/2010-01-15-UndefValue.ll +++ b/test/ExecutionEngine/2010-01-15-UndefValue.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli -force-interpreter=true %t.bc +; RUN: lli -force-interpreter=true %s define i32 @main() { %a = add i32 0, undef diff --git a/test/ExecutionEngine/fpbitcast.ll b/test/ExecutionEngine/fpbitcast.ll index 34ca129ead..47cbb02db1 100644 --- a/test/ExecutionEngine/fpbitcast.ll +++ b/test/ExecutionEngine/fpbitcast.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as < %s > %t.bc -; RUN: lli -force-interpreter=true %t.bc | grep 40091eb8 +; RUN: lli -force-interpreter=true %s | grep 40091eb8 ; define i32 @test(double %x) { entry: diff --git a/test/ExecutionEngine/hello.ll b/test/ExecutionEngine/hello.ll index fad36ed583..0b75c10f35 100644 --- a/test/ExecutionEngine/hello.ll +++ b/test/ExecutionEngine/hello.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null @.LC0 = internal global [12 x i8] c"Hello World\00" ; <[12 x i8]*> [#uses=1] diff --git a/test/ExecutionEngine/hello2.ll b/test/ExecutionEngine/hello2.ll index 7ca0d8827d..9f060be1c3 100644 --- a/test/ExecutionEngine/hello2.ll +++ b/test/ExecutionEngine/hello2.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null @X = global i32 7 ; <i32*> [#uses=0] @msg = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1] diff --git a/test/ExecutionEngine/simplesttest.ll b/test/ExecutionEngine/simplesttest.ll index 5d9cf767bc..ad38485d6e 100644 --- a/test/ExecutionEngine/simplesttest.ll +++ b/test/ExecutionEngine/simplesttest.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @main() { ret i32 0 diff --git a/test/ExecutionEngine/simpletest.ll b/test/ExecutionEngine/simpletest.ll index 53fb79c2c7..68eb7580b4 100644 --- a/test/ExecutionEngine/simpletest.ll +++ b/test/ExecutionEngine/simpletest.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @bar() { ret i32 0 diff --git a/test/ExecutionEngine/stubs.ll b/test/ExecutionEngine/stubs.ll index 525d135ff4..bd9f69adb8 100644 --- a/test/ExecutionEngine/stubs.ll +++ b/test/ExecutionEngine/stubs.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | lli -disable-lazy-compilation=false +; RUN: lli -disable-lazy-compilation=false %s define i32 @main() nounwind { entry: diff --git a/test/ExecutionEngine/test-arith.ll b/test/ExecutionEngine/test-arith.ll index 8c51e6b2e2..354ecd24bc 100644 --- a/test/ExecutionEngine/test-arith.ll +++ b/test/ExecutionEngine/test-arith.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @main() { %A = add i8 0, 12 ; <i8> [#uses=1] diff --git a/test/ExecutionEngine/test-branch.ll b/test/ExecutionEngine/test-branch.ll index dd8db5465f..7d4fd56059 100644 --- a/test/ExecutionEngine/test-branch.ll +++ b/test/ExecutionEngine/test-branch.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null ; test unconditional branch define i32 @main() { diff --git a/test/ExecutionEngine/test-call.ll b/test/ExecutionEngine/test-call.ll index 4464ebd39b..27e16f0f34 100644 --- a/test/ExecutionEngine/test-call.ll +++ b/test/ExecutionEngine/test-call.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null declare void @exit(i32) diff --git a/test/ExecutionEngine/test-cast.ll b/test/ExecutionEngine/test-cast.ll index 82d4949782..f41448cc60 100644 --- a/test/ExecutionEngine/test-cast.ll +++ b/test/ExecutionEngine/test-cast.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @foo() { ret i32 0 diff --git a/test/ExecutionEngine/test-constantexpr.ll b/test/ExecutionEngine/test-constantexpr.ll index cd5c635331..d6d90e3e19 100644 --- a/test/ExecutionEngine/test-constantexpr.ll +++ b/test/ExecutionEngine/test-constantexpr.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null ; This tests to make sure that we can evaluate weird constant expressions diff --git a/test/ExecutionEngine/test-fp.ll b/test/ExecutionEngine/test-fp.ll index 4ebcf6f7aa..f653660fb8 100644 --- a/test/ExecutionEngine/test-fp.ll +++ b/test/ExecutionEngine/test-fp.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define double @test(double* %DP, double %Arg) { %D = load double* %DP ; <double> [#uses=1] diff --git a/test/ExecutionEngine/test-loadstore.ll b/test/ExecutionEngine/test-loadstore.ll index ba0f0baf8d..53155e8ac9 100644 --- a/test/ExecutionEngine/test-loadstore.ll +++ b/test/ExecutionEngine/test-loadstore.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define void @test(i8* %P, i16* %P.upgrd.1, i32* %P.upgrd.2, i64* %P.upgrd.3) { %V = load i8* %P ; <i8> [#uses=1] diff --git a/test/ExecutionEngine/test-logical.ll b/test/ExecutionEngine/test-logical.ll index e560e52d56..710763a30b 100644 --- a/test/ExecutionEngine/test-logical.ll +++ b/test/ExecutionEngine/test-logical.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @main() { %A = and i8 4, 8 ; <i8> [#uses=2] diff --git a/test/ExecutionEngine/test-loop.ll b/test/ExecutionEngine/test-loop.ll index 7cd69e2943..f0e6f7a6f9 100644 --- a/test/ExecutionEngine/test-loop.ll +++ b/test/ExecutionEngine/test-loop.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @main() { ; <label>:0 diff --git a/test/ExecutionEngine/test-malloc.ll b/test/ExecutionEngine/test-malloc.ll index 8f79d974ed..b3400df440 100644 --- a/test/ExecutionEngine/test-malloc.ll +++ b/test/ExecutionEngine/test-malloc.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @main() { %X = malloc i32 ; <i32*> [#uses=1] diff --git a/test/ExecutionEngine/test-phi.ll b/test/ExecutionEngine/test-phi.ll index f1aaefa505..c5848a8b5c 100644 --- a/test/ExecutionEngine/test-phi.ll +++ b/test/ExecutionEngine/test-phi.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null ; test phi node @Y = global i32 6 ; <i32*> [#uses=1] diff --git a/test/ExecutionEngine/test-ret.ll b/test/ExecutionEngine/test-ret.ll index eae91f5537..beec399607 100644 --- a/test/ExecutionEngine/test-ret.ll +++ b/test/ExecutionEngine/test-ret.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null ; test return instructions define void @test1() { diff --git a/test/ExecutionEngine/test-setcond-fp.ll b/test/ExecutionEngine/test-setcond-fp.ll index 4264e2c593..d1d6d05b33 100644 --- a/test/ExecutionEngine/test-setcond-fp.ll +++ b/test/ExecutionEngine/test-setcond-fp.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @main() { diff --git a/test/ExecutionEngine/test-setcond-int.ll b/test/ExecutionEngine/test-setcond-int.ll index 772f4fa70a..f59d325a5b 100644 --- a/test/ExecutionEngine/test-setcond-int.ll +++ b/test/ExecutionEngine/test-setcond-int.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @main() { %int1 = add i32 0, 0 ; <i32> [#uses=6] diff --git a/test/ExecutionEngine/test-shift.ll b/test/ExecutionEngine/test-shift.ll index 2791b8534a..d0fb90a427 100644 --- a/test/ExecutionEngine/test-shift.ll +++ b/test/ExecutionEngine/test-shift.ll @@ -1,5 +1,4 @@ -; RUN: llvm-as %s -o %t.bc -; RUN: lli %t.bc > /dev/null +; RUN: lli %s > /dev/null define i32 @main() { %shamt = add i8 0, 1 ; <i8> [#uses=8] |