diff --git a/llvm/test/CodeGen/Generic/bswap.ll b/llvm/test/CodeGen/Generic/bswap.ll --- a/llvm/test/CodeGen/Generic/bswap.ll +++ b/llvm/test/CodeGen/Generic/bswap.ll @@ -1,5 +1,5 @@ ; tests lowering of vector bswap -; RUN: lli -force-interpreter %s | FileCheck %s +; RUN: lli -jit-kind=mcjit -force-interpreter %s | FileCheck %s ; CHECK: 0x100 ; CHECK: 0x10000 diff --git a/llvm/test/ExecutionEngine/2010-01-15-UndefValue.ll b/llvm/test/ExecutionEngine/2010-01-15-UndefValue.ll --- a/llvm/test/ExecutionEngine/2010-01-15-UndefValue.ll +++ b/llvm/test/ExecutionEngine/2010-01-15-UndefValue.ll @@ -1,4 +1,4 @@ -; RUN: %lli -force-interpreter=true %s +; RUN: %lli -jit-kind=mcjit -force-interpreter=true %s define i32 @main() { %a = add i32 0, undef diff --git a/llvm/test/ExecutionEngine/Interpreter/alias.ll b/llvm/test/ExecutionEngine/Interpreter/alias.ll --- a/llvm/test/ExecutionEngine/Interpreter/alias.ll +++ b/llvm/test/ExecutionEngine/Interpreter/alias.ll @@ -1,4 +1,4 @@ -; RUN: %lli -force-interpreter %s +; RUN: %lli -jit-kind=mcjit -force-interpreter %s define i32 @func() { entry: diff --git a/llvm/test/ExecutionEngine/Interpreter/call-no-args.ll b/llvm/test/ExecutionEngine/Interpreter/call-no-args.ll --- a/llvm/test/ExecutionEngine/Interpreter/call-no-args.ll +++ b/llvm/test/ExecutionEngine/Interpreter/call-no-args.ll @@ -1,4 +1,4 @@ -; RUN: %lli -force-interpreter %s +; RUN: %lli -jit-kind=mcjit -force-interpreter %s declare void @exit(i32) declare i32 @rand() diff --git a/llvm/test/ExecutionEngine/Interpreter/intrinsics.ll b/llvm/test/ExecutionEngine/Interpreter/intrinsics.ll --- a/llvm/test/ExecutionEngine/Interpreter/intrinsics.ll +++ b/llvm/test/ExecutionEngine/Interpreter/intrinsics.ll @@ -1,4 +1,4 @@ -; RUN: lli -O0 -force-interpreter < %s +; RUN: lli -jit-kind=mcjit -O0 -force-interpreter < %s ; libffi does not support fp128 so we don’t test it declare float @llvm.sin.f32(float) diff --git a/llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll b/llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll --- a/llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2002-12-16-ArgTest.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /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/llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll b/llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-01-04-ArgumentBug.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @foo(i32 %X, i32 %Y, double %A) { diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll b/llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-01-04-LoopTest.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll b/llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-01-04-PhiTest.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-01-09-SARTest.ll b/llvm/test/ExecutionEngine/MCJIT/2003-01-09-SARTest.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-01-09-SARTest.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-01-09-SARTest.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null ; We were accidentally inverting the signedness of right shifts. Whoops. diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-01-10-FUCOM.ll b/llvm/test/ExecutionEngine/MCJIT/2003-01-10-FUCOM.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-01-10-FUCOM.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-01-10-FUCOM.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-01-15-AlignmentTest.ll b/llvm/test/ExecutionEngine/MCJIT/2003-01-15-AlignmentTest.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-01-15-AlignmentTest.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-01-15-AlignmentTest.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @bar(i8* %X) { diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-05-06-LivenessClobber.ll b/llvm/test/ExecutionEngine/MCJIT/2003-05-06-LivenessClobber.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-05-06-LivenessClobber.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-05-06-LivenessClobber.ll @@ -1,5 +1,6 @@ ; This testcase should return with an exit code of 1. ; +; RUN: not %lli -jit-kind=mcjit %s ; RUN: not %lli %s @test = global i64 0 ; [#uses=1] diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-05-07-ArgumentTest.ll b/llvm/test/ExecutionEngine/MCJIT/2003-05-07-ArgumentTest.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-05-07-ArgumentTest.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-05-07-ArgumentTest.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s test ; RUN: %lli %s test declare i32 @puts(i8*) diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-05-11-PHIRegAllocBug.ll b/llvm/test/ExecutionEngine/MCJIT/2003-05-11-PHIRegAllocBug.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-05-11-PHIRegAllocBug.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-05-11-PHIRegAllocBug.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-06-04-bzip2-bug.ll b/llvm/test/ExecutionEngine/MCJIT/2003-06-04-bzip2-bug.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-06-04-bzip2-bug.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-06-04-bzip2-bug.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null ; Testcase distilled from 256.bzip2. diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-06-05-PHIBug.ll b/llvm/test/ExecutionEngine/MCJIT/2003-06-05-PHIBug.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-06-05-PHIBug.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-06-05-PHIBug.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null ; Testcase distilled from 256.bzip2. diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-08-15-AllocaAssertion.ll b/llvm/test/ExecutionEngine/MCJIT/2003-08-15-AllocaAssertion.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-08-15-AllocaAssertion.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-08-15-AllocaAssertion.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null ; This testcase failed to work because two variable sized allocas confused the diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-08-21-EnvironmentTest.ll b/llvm/test/ExecutionEngine/MCJIT/2003-08-21-EnvironmentTest.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-08-21-EnvironmentTest.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-08-21-EnvironmentTest.ll @@ -1,4 +1,4 @@ -; RUN: %lli %s > /dev/null +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; ; Regression Test: EnvironmentTest.ll diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-08-23-RegisterAllocatePhysReg.ll b/llvm/test/ExecutionEngine/MCJIT/2003-08-23-RegisterAllocatePhysReg.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-08-23-RegisterAllocatePhysReg.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-08-23-RegisterAllocatePhysReg.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null ; This testcase exposes a bug in the local register allocator where it runs out diff --git a/llvm/test/ExecutionEngine/MCJIT/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll b/llvm/test/ExecutionEngine/MCJIT/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll --- a/llvm/test/ExecutionEngine/MCJIT/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null @A = global i32 0 ; [#uses=1] diff --git a/llvm/test/ExecutionEngine/MCJIT/2005-12-02-TailCallBug.ll b/llvm/test/ExecutionEngine/MCJIT/2005-12-02-TailCallBug.ll --- a/llvm/test/ExecutionEngine/MCJIT/2005-12-02-TailCallBug.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2005-12-02-TailCallBug.ll @@ -1,4 +1,5 @@ ; PR672 +; RUN: %lli -jit-kind=mcjit %s ; RUN: %lli %s ; XFAIL: mcjit-ia32 diff --git a/llvm/test/ExecutionEngine/MCJIT/2007-12-10-APIntLoadStore.ll b/llvm/test/ExecutionEngine/MCJIT/2007-12-10-APIntLoadStore.ll --- a/llvm/test/ExecutionEngine/MCJIT/2007-12-10-APIntLoadStore.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2007-12-10-APIntLoadStore.ll @@ -1,4 +1,4 @@ -; RUN: %lli -force-interpreter %s +; RUN: %lli -jit-kind=mcjit -force-interpreter %s ; PR1836 define i32 @main() { diff --git a/llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll b/llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll --- a/llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2008-06-05-APInt-OverAShr.ll @@ -1,4 +1,4 @@ -; RUN: %lli -force-interpreter=true %s | FileCheck %s +; RUN: %lli -jit-kind=mcjit -force-interpreter=true %s | FileCheck %s ; CHECK: 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" diff --git a/llvm/test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll b/llvm/test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll --- a/llvm/test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll +++ b/llvm/test/ExecutionEngine/MCJIT/2013-04-04-RelocAddend.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s ; RUN: %lli %s ; ; Verify relocations to global symbols with addend work correctly. diff --git a/llvm/test/ExecutionEngine/MCJIT/cross-module-a.ll b/llvm/test/ExecutionEngine/MCJIT/cross-module-a.ll --- a/llvm/test/ExecutionEngine/MCJIT/cross-module-a.ll +++ b/llvm/test/ExecutionEngine/MCJIT/cross-module-a.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit -extra-module=%p/Inputs/cross-module-b.ll %s > /dev/null ; RUN: %lli -extra-module=%p/Inputs/cross-module-b.ll %s > /dev/null declare i32 @FB() diff --git a/llvm/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll b/llvm/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll --- a/llvm/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll +++ b/llvm/test/ExecutionEngine/MCJIT/cross-module-sm-pic-a.ll @@ -1,5 +1,5 @@ ; RUN: %lli -jit-kind=mcjit -extra-module=%p/Inputs/cross-module-b.ll -relocation-model=pic -code-model=small %s > /dev/null -; RUN: %lli -jit-kind=orc -lljit-platform=Inactive -extra-module=%p/Inputs/cross-module-b.ll -relocation-model=pic -code-model=small %s > /dev/null +; RUN: %lli -lljit-platform=Inactive -extra-module=%p/Inputs/cross-module-b.ll -relocation-model=pic -code-model=small %s > /dev/null ; XFAIL: mips-, mipsel-, i686, i386 declare i32 @FB() diff --git a/llvm/test/ExecutionEngine/MCJIT/eh-lg-pic.ll b/llvm/test/ExecutionEngine/MCJIT/eh-lg-pic.ll --- a/llvm/test/ExecutionEngine/MCJIT/eh-lg-pic.ll +++ b/llvm/test/ExecutionEngine/MCJIT/eh-lg-pic.ll @@ -1,5 +1,5 @@ ; REQUIRES: cxx-shared-library -; RUN: %lli -relocation-model=pic -code-model=large %s +; RUN: %lli -jit-kind=mcjit -relocation-model=pic -code-model=large %s ; XFAIL: cygwin, windows-msvc, windows-gnu, mips-, mipsel-, i686, i386, aarch64, arm declare i8* @__cxa_allocate_exception(i64) declare void @__cxa_throw(i8*, i8*, i8*) diff --git a/llvm/test/ExecutionEngine/MCJIT/eh.ll b/llvm/test/ExecutionEngine/MCJIT/eh.ll --- a/llvm/test/ExecutionEngine/MCJIT/eh.ll +++ b/llvm/test/ExecutionEngine/MCJIT/eh.ll @@ -1,4 +1,5 @@ ; REQUIRES: cxx-shared-library +; RUN: %lli -jit-kind=mcjit %s ; RUN: %lli %s ; XFAIL: arm, cygwin, windows-msvc, windows-gnu declare i8* @__cxa_allocate_exception(i64) diff --git a/llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll b/llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll --- a/llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll +++ b/llvm/test/ExecutionEngine/MCJIT/fpbitcast.ll @@ -1,4 +1,4 @@ -; RUN: %lli -force-interpreter=true %s | FileCheck %s +; RUN: %lli -jit-kind=mcjit -force-interpreter=true %s | FileCheck %s ; CHECK: 40091eb8 define i32 @test(double %x) { diff --git a/llvm/test/ExecutionEngine/MCJIT/hello.ll b/llvm/test/ExecutionEngine/MCJIT/hello.ll --- a/llvm/test/ExecutionEngine/MCJIT/hello.ll +++ b/llvm/test/ExecutionEngine/MCJIT/hello.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /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/llvm/test/ExecutionEngine/MCJIT/hello2.ll b/llvm/test/ExecutionEngine/MCJIT/hello2.ll --- a/llvm/test/ExecutionEngine/MCJIT/hello2.ll +++ b/llvm/test/ExecutionEngine/MCJIT/hello2.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null @X = global i32 7 ; [#uses=0] diff --git a/llvm/test/ExecutionEngine/MCJIT/load-object-a.ll b/llvm/test/ExecutionEngine/MCJIT/load-object-a.ll --- a/llvm/test/ExecutionEngine/MCJIT/load-object-a.ll +++ b/llvm/test/ExecutionEngine/MCJIT/load-object-a.ll @@ -1,12 +1,14 @@ ; This first line will generate the .o files for the next run line ; RUN: rm -rf %t.cachedir %t.cachedir2 %t.cachedir3 ; RUN: mkdir -p %t.cachedir %t.cachedir2 %t.cachedir3 +; RUN: %lli -jit-kind=mcjit -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -enable-cache-manager -object-cache-dir=%t.cachedir %s ; RUN: %lli -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -enable-cache-manager -object-cache-dir=%t.cachedir %s ; Collect generated objects. ; RUN: find %t.cachedir -type f -name 'multi-module-?.o' -exec mv -v '{}' %t.cachedir2 ';' ; This line tests MCJIT object loading +; RUN: %lli -jit-kind=mcjit -extra-object=%t.cachedir2/multi-module-b.o -extra-object=%t.cachedir2/multi-module-c.o %s ; RUN: %lli -extra-object=%t.cachedir2/multi-module-b.o -extra-object=%t.cachedir2/multi-module-c.o %s ; These lines put the object files into an archive @@ -14,6 +16,7 @@ ; RUN: llvm-ar r %t.cachedir3/load-object.a %t.cachedir2/multi-module-c.o ; This line test MCJIT archive loading +; RUN: %lli -jit-kind=mcjit -extra-archive=%t.cachedir3/load-object.a %s ; RUN: %lli -extra-archive=%t.cachedir3/load-object.a %s declare i32 @FB() diff --git a/llvm/test/ExecutionEngine/MCJIT/multi-module-a.ll b/llvm/test/ExecutionEngine/MCJIT/multi-module-a.ll --- a/llvm/test/ExecutionEngine/MCJIT/multi-module-a.ll +++ b/llvm/test/ExecutionEngine/MCJIT/multi-module-a.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll %s > /dev/null ; RUN: %lli -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll %s > /dev/null declare i32 @FB() diff --git a/llvm/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll b/llvm/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll --- a/llvm/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll +++ b/llvm/test/ExecutionEngine/MCJIT/multi-module-eh-a.ll @@ -1,4 +1,5 @@ ; REQUIRES: cxx-shared-library +; RUN: %lli -jit-kind=mcjit -extra-module=%p/Inputs/multi-module-eh-b.ll %s ; RUN: %lli -extra-module=%p/Inputs/multi-module-eh-b.ll %s ; XFAIL: arm, cygwin, windows-msvc, windows-gnu declare i8* @__cxa_allocate_exception(i64) diff --git a/llvm/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll b/llvm/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll --- a/llvm/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll +++ b/llvm/test/ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll @@ -1,5 +1,5 @@ ; RUN: %lli -jit-kind=mcjit -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -relocation-model=pic -code-model=small %s > /dev/null -; RUN: %lli -jit-kind=orc -lljit-platform=Inactive -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -relocation-model=pic -code-model=small %s > /dev/null +; RUN: %lli -lljit-platform=Inactive -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -relocation-model=pic -code-model=small %s > /dev/null ; XFAIL: mips-, mipsel-, i686, i386 declare i32 @FB() diff --git a/llvm/test/ExecutionEngine/MCJIT/non-extern-addend.ll b/llvm/test/ExecutionEngine/MCJIT/non-extern-addend.ll --- a/llvm/test/ExecutionEngine/MCJIT/non-extern-addend.ll +++ b/llvm/test/ExecutionEngine/MCJIT/non-extern-addend.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @foo(i32 %x, i32 %y, double %d) { diff --git a/llvm/test/ExecutionEngine/MCJIT/pr13727.ll b/llvm/test/ExecutionEngine/MCJIT/pr13727.ll --- a/llvm/test/ExecutionEngine/MCJIT/pr13727.ll +++ b/llvm/test/ExecutionEngine/MCJIT/pr13727.ll @@ -1,4 +1,4 @@ -; RUN: %lli -O0 -disable-lazy-compilation=false %s +; RUN: %lli -jit-kind=mcjit -O0 -disable-lazy-compilation=false %s ; The intention of this test is to verify that symbols mapped to COMMON in ELF ; work as expected. diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll b/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll @@ -1,4 +1,4 @@ -; RUN: %lli -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null +; RUN: %lli -jit-kind=mcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null ; XFAIL: windows-gnu,windows-msvc ; UNSUPPORTED: powerpc64-unknown-linux-gnu ; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/eh.ll b/llvm/test/ExecutionEngine/MCJIT/remote/eh.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/eh.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/eh.ll @@ -1,5 +1,5 @@ ; REQUIRES: cxx-shared-library -; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s +; RUN: %lli -jit-kind=mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s ; XFAIL: arm, cygwin, windows-msvc, windows-gnu ; UNSUPPORTED: powerpc64-unknown-linux-gnu ; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll b/llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll @@ -1,4 +1,4 @@ -; RUN: %lli -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null +; RUN: %lli -jit-kind=mcjit -extra-module=%p/Inputs/multi-module-b.ll -extra-module=%p/Inputs/multi-module-c.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null ; XFAIL: windows-gnu,windows-msvc ; UNSUPPORTED: powerpc64-unknown-linux-gnu ; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll @@ -1,4 +1,4 @@ -; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null +; RUN: %lli -jit-kind=mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null ; XFAIL: windows-gnu,windows-msvc ; UNSUPPORTED: powerpc64-unknown-linux-gnu ; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll @@ -1,4 +1,4 @@ -; RUN: %lli -remote-mcjit -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s +; RUN: %lli -jit-kind=mcjit -remote-mcjit -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s ; XFAIL: windows-gnu,windows-msvc ; UNSUPPORTED: powerpc64-unknown-linux-gnu ; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll b/llvm/test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/stubs-sm-pic.ll @@ -1,4 +1,4 @@ -; RUN: %lli -remote-mcjit -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s +; RUN: %lli -jit-kind=mcjit -remote-mcjit -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s ; XFAIL: * ; This function should fail until remote symbol resolution is supported. diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll @@ -1,4 +1,4 @@ -; RUN: %lli -remote-mcjit -O0 -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s +; RUN: %lli -jit-kind=mcjit -remote-mcjit -O0 -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s ; XFAIL: windows-gnu,windows-msvc ; UNSUPPORTED: powerpc64-unknown-linux-gnu ; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll @@ -1,4 +1,4 @@ -; RUN: %lli -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s +; RUN: %lli -jit-kind=mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s ; XFAIL: windows-gnu,windows-msvc ; UNSUPPORTED: powerpc64-unknown-linux-gnu ; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll @@ -1,4 +1,4 @@ -; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null +; RUN: %lli -jit-kind=mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null ; XFAIL: windows-gnu,windows-msvc ; UNSUPPORTED: powerpc64-unknown-linux-gnu ; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll @@ -1,4 +1,4 @@ -; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null +; RUN: %lli -jit-kind=mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null ; XFAIL: windows-gnu,windows-msvc ; UNSUPPORTED: powerpc64-unknown-linux-gnu ; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-sm-pic.ll b/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-sm-pic.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-sm-pic.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-sm-pic.ll @@ -1,4 +1,4 @@ -; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext \ +; RUN: %lli -jit-kind=mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext \ ; RUN: -relocation-model=pic -code-model=small %s > /dev/null ; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386, windows-gnu, windows-msvc ; UNSUPPORTED: powerpc64-unknown-linux-gnu diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll b/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll @@ -1,4 +1,4 @@ -; RUN: %lli -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s +; RUN: %lli -jit-kind=mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s ; XFAIL: windows-gnu,windows-msvc ; UNSUPPORTED: powerpc64-unknown-linux-gnu ; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed diff --git a/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-sm-pic.ll b/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-sm-pic.ll --- a/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-sm-pic.ll +++ b/llvm/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-sm-pic.ll @@ -1,4 +1,4 @@ -; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext \ +; RUN: %lli -jit-kind=mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext \ ; RUN: -O0 -relocation-model=pic -code-model=small %s ; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386, windows-gnu, windows-msvc ; UNSUPPORTED: powerpc64-unknown-linux-gnu diff --git a/llvm/test/ExecutionEngine/MCJIT/simplesttest.ll b/llvm/test/ExecutionEngine/MCJIT/simplesttest.ll --- a/llvm/test/ExecutionEngine/MCJIT/simplesttest.ll +++ b/llvm/test/ExecutionEngine/MCJIT/simplesttest.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/MCJIT/simpletest.ll b/llvm/test/ExecutionEngine/MCJIT/simpletest.ll --- a/llvm/test/ExecutionEngine/MCJIT/simpletest.ll +++ b/llvm/test/ExecutionEngine/MCJIT/simpletest.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @bar() { diff --git a/llvm/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll b/llvm/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll --- a/llvm/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll +++ b/llvm/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll @@ -1,4 +1,4 @@ -; RUN: %lli -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s +; RUN: %lli -jit-kind=mcjit -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s ; XFAIL: mips-, mipsel-, i686, i386, aarch64, arm define i32 @main() nounwind { diff --git a/llvm/test/ExecutionEngine/MCJIT/stubs.ll b/llvm/test/ExecutionEngine/MCJIT/stubs.ll --- a/llvm/test/ExecutionEngine/MCJIT/stubs.ll +++ b/llvm/test/ExecutionEngine/MCJIT/stubs.ll @@ -1,4 +1,4 @@ -; RUN: %lli -disable-lazy-compilation=false %s +; RUN: %lli -jit-kind=mcjit -disable-lazy-compilation=false %s define i32 @main() nounwind { entry: diff --git a/llvm/test/ExecutionEngine/MCJIT/test-arith.ll b/llvm/test/ExecutionEngine/MCJIT/test-arith.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-arith.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-arith.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/MCJIT/test-branch.ll b/llvm/test/ExecutionEngine/MCJIT/test-branch.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-branch.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-branch.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null ; test unconditional branch diff --git a/llvm/test/ExecutionEngine/MCJIT/test-call-no-external-funcs.ll b/llvm/test/ExecutionEngine/MCJIT/test-call-no-external-funcs.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-call-no-external-funcs.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-call-no-external-funcs.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @_Z14func_exit_codev() nounwind uwtable { diff --git a/llvm/test/ExecutionEngine/MCJIT/test-call.ll b/llvm/test/ExecutionEngine/MCJIT/test-call.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-call.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-call.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null declare void @exit(i32) diff --git a/llvm/test/ExecutionEngine/MCJIT/test-cast.ll b/llvm/test/ExecutionEngine/MCJIT/test-cast.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-cast.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-cast.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @foo() { diff --git a/llvm/test/ExecutionEngine/MCJIT/test-common-symbols-alignment.ll b/llvm/test/ExecutionEngine/MCJIT/test-common-symbols-alignment.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-common-symbols-alignment.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-common-symbols-alignment.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit -O0 %s ; RUN: %lli -O0 %s ; This test checks that common symbols have been allocated addresses honouring diff --git a/llvm/test/ExecutionEngine/MCJIT/test-common-symbols.ll b/llvm/test/ExecutionEngine/MCJIT/test-common-symbols.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-common-symbols.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-common-symbols.ll @@ -1,4 +1,4 @@ -; RUN: %lli -O0 -disable-lazy-compilation=false %s +; RUN: %lli -jit-kind=mcjit -O0 -disable-lazy-compilation=false %s ; The intention of this test is to verify that symbols mapped to COMMON in ELF ; work as expected. diff --git a/llvm/test/ExecutionEngine/MCJIT/test-constantexpr.ll b/llvm/test/ExecutionEngine/MCJIT/test-constantexpr.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-constantexpr.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-constantexpr.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null ; This tests to make sure that we can evaluate weird constant expressions diff --git a/llvm/test/ExecutionEngine/MCJIT/test-data-align.ll b/llvm/test/ExecutionEngine/MCJIT/test-data-align.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-data-align.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-data-align.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit -O0 %s ; RUN: %lli -O0 %s ; Check that a variable is always aligned as specified. diff --git a/llvm/test/ExecutionEngine/MCJIT/test-fp-no-external-funcs.ll b/llvm/test/ExecutionEngine/MCJIT/test-fp-no-external-funcs.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-fp-no-external-funcs.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-fp-no-external-funcs.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define double @test(double* %DP, double %Arg) { diff --git a/llvm/test/ExecutionEngine/MCJIT/test-fp.ll b/llvm/test/ExecutionEngine/MCJIT/test-fp.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-fp.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-fp.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define double @test(double* %DP, double %Arg) { diff --git a/llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll b/llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-global-ctors.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null ; XFAIL: darwin @var = global i32 1, align 4 diff --git a/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll b/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll @@ -1,5 +1,5 @@ ; RUN: %lli -jit-kind=mcjit -relocation-model=pic -code-model=small %s > /dev/null -; RUN: %lli -jit-kind=orc -lljit-platform=Inactive -relocation-model=pic -code-model=small %s > /dev/null +; RUN: %lli -lljit-platform=Inactive -relocation-model=pic -code-model=small %s > /dev/null ; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386 @count = global i32 1, align 4 diff --git a/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll b/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-global-init-nonzero.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null @count = global i32 1, align 4 diff --git a/llvm/test/ExecutionEngine/MCJIT/test-global.ll b/llvm/test/ExecutionEngine/MCJIT/test-global.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-global.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-global.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null @count = global i32 0, align 4 diff --git a/llvm/test/ExecutionEngine/MCJIT/test-loadstore.ll b/llvm/test/ExecutionEngine/MCJIT/test-loadstore.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-loadstore.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-loadstore.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define void @test(i8* %P, i16* %P.upgrd.1, i32* %P.upgrd.2, i64* %P.upgrd.3) { diff --git a/llvm/test/ExecutionEngine/MCJIT/test-local.ll b/llvm/test/ExecutionEngine/MCJIT/test-local.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-local.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-local.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() nounwind uwtable { diff --git a/llvm/test/ExecutionEngine/MCJIT/test-logical.ll b/llvm/test/ExecutionEngine/MCJIT/test-logical.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-logical.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-logical.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/MCJIT/test-loop.ll b/llvm/test/ExecutionEngine/MCJIT/test-loop.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-loop.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-loop.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/MCJIT/test-phi.ll b/llvm/test/ExecutionEngine/MCJIT/test-phi.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-phi.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-phi.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null ; test phi node diff --git a/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll b/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll @@ -1,5 +1,5 @@ ; RUN: %lli -jit-kind=mcjit -O0 -relocation-model=pic -code-model=small %s -; RUN: %lli -jit-kind=orc -lljit-platform=Inactive -O0 -relocation-model=pic -code-model=small %s +; RUN: %lli -lljit-platform=Inactive -O0 -relocation-model=pic -code-model=small %s ; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386 @.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1 diff --git a/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc.ll b/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-ptr-reloc.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit -O0 %s ; RUN: %lli -O0 %s @.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1 diff --git a/llvm/test/ExecutionEngine/MCJIT/test-ret.ll b/llvm/test/ExecutionEngine/MCJIT/test-ret.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-ret.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-ret.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null ; test return instructions diff --git a/llvm/test/ExecutionEngine/MCJIT/test-return.ll b/llvm/test/ExecutionEngine/MCJIT/test-return.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-return.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-return.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() nounwind uwtable { diff --git a/llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll b/llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-setcond-fp.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null diff --git a/llvm/test/ExecutionEngine/MCJIT/test-setcond-int.ll b/llvm/test/ExecutionEngine/MCJIT/test-setcond-int.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-setcond-int.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-setcond-int.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/MCJIT/test-shift.ll b/llvm/test/ExecutionEngine/MCJIT/test-shift.ll --- a/llvm/test/ExecutionEngine/MCJIT/test-shift.ll +++ b/llvm/test/ExecutionEngine/MCJIT/test-shift.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/MCJIT/weak-function.ll b/llvm/test/ExecutionEngine/MCJIT/weak-function.ll --- a/llvm/test/ExecutionEngine/MCJIT/weak-function.ll +++ b/llvm/test/ExecutionEngine/MCJIT/weak-function.ll @@ -1,4 +1,5 @@ ; RUN: lli -jit-kind=mcjit -extra-module %p/Inputs/weak-function-2.ll %s +; RUN: lli -extra-module %p/Inputs/weak-function-2.ll %s ; UNSUPPORTED: uses_COFF ; ; Check that functions in two different modules agree on the address of weak diff --git a/llvm/test/ExecutionEngine/fma3-jit.ll b/llvm/test/ExecutionEngine/fma3-jit.ll --- a/llvm/test/ExecutionEngine/fma3-jit.ll +++ b/llvm/test/ExecutionEngine/fma3-jit.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s | FileCheck %s ; RUN: %lli %s | FileCheck %s ; REQUIRES: fma3 ; CHECK: 12.000000 diff --git a/llvm/test/ExecutionEngine/frem.ll b/llvm/test/ExecutionEngine/frem.ll --- a/llvm/test/ExecutionEngine/frem.ll +++ b/llvm/test/ExecutionEngine/frem.ll @@ -3,7 +3,7 @@ ; This unit test guards against the failure. ; ; RUN: %lli -jit-kind=mcjit %s | FileCheck %s -; RUN: %lli -jit-kind=orc %s | FileCheck %s +; RUN: %lli %s | FileCheck %s @flt = internal global float 12.0e+0 @str = internal constant [18 x i8] c"Double value: %f\0A\00" diff --git a/llvm/test/ExecutionEngine/mov64zext32.ll b/llvm/test/ExecutionEngine/mov64zext32.ll --- a/llvm/test/ExecutionEngine/mov64zext32.ll +++ b/llvm/test/ExecutionEngine/mov64zext32.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i64 @foo() { diff --git a/llvm/test/ExecutionEngine/test-interp-vec-arithm_float.ll b/llvm/test/ExecutionEngine/test-interp-vec-arithm_float.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-arithm_float.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-arithm_float.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null diff --git a/llvm/test/ExecutionEngine/test-interp-vec-arithm_int.ll b/llvm/test/ExecutionEngine/test-interp-vec-arithm_int.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-arithm_int.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-arithm_int.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/test-interp-vec-cast.ll b/llvm/test/ExecutionEngine/test-interp-vec-cast.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-cast.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-cast.ll @@ -1,4 +1,4 @@ -; RUN: %lli -force-interpreter=true %s > /dev/null +; RUN: %lli -jit-kind=mcjit -force-interpreter=true %s > /dev/null define i32 @main() { zext <2 x i1> to <2 x i8> diff --git a/llvm/test/ExecutionEngine/test-interp-vec-insertelement.ll b/llvm/test/ExecutionEngine/test-interp-vec-insertelement.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-insertelement.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-insertelement.ll @@ -1,4 +1,4 @@ - ; RUN: %lli -force-interpreter=true %s > /dev/null + ; RUN: %lli -jit-kind=mcjit -force-interpreter=true %s > /dev/null define i32 @main() { %v0 = insertelement <2 x i8> zeroinitializer, i8 1, i32 1 diff --git a/llvm/test/ExecutionEngine/test-interp-vec-insertextractvalue.ll b/llvm/test/ExecutionEngine/test-interp-vec-insertextractvalue.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-insertextractvalue.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-insertextractvalue.ll @@ -1,4 +1,4 @@ - ; RUN: %lli -force-interpreter=true %s > /dev/null + ; RUN: %lli -jit-kind=mcjit -force-interpreter=true %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/test-interp-vec-loadstore.ll b/llvm/test/ExecutionEngine/test-interp-vec-loadstore.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-loadstore.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-loadstore.ll @@ -1,4 +1,4 @@ -; RUN: %lli -force-interpreter=true %s | FileCheck %s +; RUN: %lli -jit-kind=mcjit -force-interpreter=true %s | FileCheck %s ; CHECK: int test passed ; CHECK: double test passed ; CHECK: float test passed diff --git a/llvm/test/ExecutionEngine/test-interp-vec-logical.ll b/llvm/test/ExecutionEngine/test-interp-vec-logical.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-logical.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-logical.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/test-interp-vec-select.ll b/llvm/test/ExecutionEngine/test-interp-vec-select.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-select.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-select.ll @@ -1,4 +1,4 @@ -; RUN: %lli -force-interpreter=true %s > /dev/null +; RUN: %lli -jit-kind=mcjit -force-interpreter=true %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/test-interp-vec-setcond-fp.ll b/llvm/test/ExecutionEngine/test-interp-vec-setcond-fp.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-setcond-fp.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-setcond-fp.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/test-interp-vec-setcond-int.ll b/llvm/test/ExecutionEngine/test-interp-vec-setcond-int.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-setcond-int.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-setcond-int.ll @@ -1,3 +1,4 @@ +; RUN: %lli -jit-kind=mcjit %s > /dev/null ; RUN: %lli %s > /dev/null define i32 @main() { diff --git a/llvm/test/ExecutionEngine/test-interp-vec-shift.ll b/llvm/test/ExecutionEngine/test-interp-vec-shift.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-shift.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-shift.ll @@ -1,4 +1,4 @@ -; RUN: %lli -force-interpreter=true %s > /dev/null +; RUN: %lli -jit-kind=mcjit -force-interpreter=true %s > /dev/null define i32 @main() { %shamt = add <2 x i8> , diff --git a/llvm/test/ExecutionEngine/test-interp-vec-shuffle.ll b/llvm/test/ExecutionEngine/test-interp-vec-shuffle.ll --- a/llvm/test/ExecutionEngine/test-interp-vec-shuffle.ll +++ b/llvm/test/ExecutionEngine/test-interp-vec-shuffle.ll @@ -1,4 +1,4 @@ -; RUN: %lli -force-interpreter=true %s > /dev/null +; RUN: %lli -jit-kind=mcjit -force-interpreter=true %s > /dev/null define i32 @main() { diff --git a/llvm/test/Integer/2007-01-19-TruncSext.ll b/llvm/test/Integer/2007-01-19-TruncSext.ll --- a/llvm/test/Integer/2007-01-19-TruncSext.ll +++ b/llvm/test/Integer/2007-01-19-TruncSext.ll @@ -1,7 +1,7 @@ ; RUN: llvm-as %s -o - | llvm-dis > %t1.ll ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll ; RUN: diff %t1.ll %t2.ll -; RUN: llvm-as < %s | lli --force-interpreter=true | FileCheck %s +; RUN: llvm-as < %s | lli -jit-kind=mcjit --force-interpreter=true | FileCheck %s ; CHECK: -255 @ARRAY = global [ 20 x i17 ] zeroinitializer diff --git a/llvm/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll b/llvm/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll --- a/llvm/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll +++ b/llvm/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -licm | lli -force-interpreter +; RUN: opt < %s -licm | lli -jit-kind=mcjit -force-interpreter define i32 @main() { entry: diff --git a/llvm/tools/lli/lli.cpp b/llvm/tools/lli/lli.cpp --- a/llvm/tools/lli/lli.cpp +++ b/llvm/tools/lli/lli.cpp @@ -99,7 +99,7 @@ cl::opt UseJITKind( "jit-kind", cl::desc("Choose underlying JIT kind."), - cl::init(JITKind::MCJIT), + cl::init(JITKind::Orc), cl::values(clEnumValN(JITKind::MCJIT, "mcjit", "MCJIT"), clEnumValN(JITKind::Orc, "orc", "Orc JIT"), clEnumValN(JITKind::OrcLazy, "orc-lazy",