From 46a27169104ac4cded2bd91e7f872efa80e08446 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 13 Nov 2010 00:28:01 +0000 Subject: [PATCH] lli: Switch to using ParseIRFile, for consistency with other LLVM tools. - Also, switch tests to not using llvm-as. They run 20% faster now, not that it matters. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118952 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 +-- .../2003-05-06-LivenessClobber.ll | 4 ++-- test/ExecutionEngine/2003-05-07-ArgumentTest.ll | 2 +- .../ExecutionEngine/2003-05-11-PHIRegAllocBug.ll | 3 +-- test/ExecutionEngine/2003-06-04-bzip2-bug.ll | 3 +-- test/ExecutionEngine/2003-06-05-PHIBug.ll | 3 +-- .../2003-08-15-AllocaAssertion.ll | 3 +-- .../2003-08-21-EnvironmentTest.ll | 3 +-- .../2003-08-23-RegisterAllocatePhysReg.ll | 3 +-- ...0-18-PHINode-ConstantExpr-CondCode-Failure.ll | 3 +-- test/ExecutionEngine/2005-12-02-TailCallBug.ll | 2 +- .../ExecutionEngine/2007-12-10-APIntLoadStore.ll | 2 +- .../ExecutionEngine/2008-06-05-APInt-OverAShr.ll | 3 +-- test/ExecutionEngine/2010-01-15-UndefValue.ll | 3 +-- test/ExecutionEngine/fpbitcast.ll | 3 +-- test/ExecutionEngine/hello.ll | 3 +-- test/ExecutionEngine/hello2.ll | 3 +-- test/ExecutionEngine/simplesttest.ll | 3 +-- test/ExecutionEngine/simpletest.ll | 3 +-- test/ExecutionEngine/stubs.ll | 2 +- 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 +-- tools/lli/Makefile | 2 +- tools/lli/lli.cpp | 16 ++++++---------- 43 files changed, 49 insertions(+), 89 deletions(-) diff --git a/test/ExecutionEngine/2002-12-16-ArgTest.ll b/test/ExecutionEngine/2002-12-16-ArgTest.ll index 455196923e8..eba58ccca42 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 5d37e966416..4cfd1ebb69e 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 ; [#uses=1] diff --git a/test/ExecutionEngine/2003-01-04-LoopTest.ll b/test/ExecutionEngine/2003-01-04-LoopTest.ll index 653cf79a52a..668c8fd7ad0 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 ) ; :1 [#uses=0] diff --git a/test/ExecutionEngine/2003-01-04-PhiTest.ll b/test/ExecutionEngine/2003-01-04-PhiTest.ll index b5c9d813243..2bc70d749f5 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() { ;