[llvm] r232931 - [Orc] Add missing -use-orcmcjit flag to a number of Orc regression tests.

Lang Hames lhames at gmail.com
Sun Mar 22 23:02:49 PDT 2015


Author: lhames
Date: Mon Mar 23 01:02:49 2015
New Revision: 232931

URL: http://llvm.org/viewvc/llvm-project?rev=232931&view=rev
Log:
[Orc] Add missing -use-orcmcjit flag to a number of Orc regression tests.

Modified:
    llvm/trunk/test/ExecutionEngine/OrcJIT/2003-05-06-LivenessClobber.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/load-object-a.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/cross-module-a.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/cross-module-sm-pic-a.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/multi-module-a.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/multi-module-sm-pic-a.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/simpletest-remote.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/stubs-remote.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/stubs-sm-pic.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-common-symbols-remote.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-data-align-remote.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-fp-no-external-funcs-remote.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-global-init-nonzero-remote.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-global-init-nonzero-sm-pic.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-remote.ll
    llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-sm-pic.ll

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/2003-05-06-LivenessClobber.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/2003-05-06-LivenessClobber.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/2003-05-06-LivenessClobber.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/2003-05-06-LivenessClobber.ll Mon Mar 23 01:02:49 2015
@@ -1,6 +1,6 @@
 ; This testcase should return with an exit code of 1.
 ;
-; RUN: not %lli %s
+; RUN: not %lli -use-orcmcjit %s
 
 @test = global i64 0		; <i64*> [#uses=1]
 

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/load-object-a.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/load-object-a.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/load-object-a.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/load-object-a.ll Mon Mar 23 01:02:49 2015
@@ -1,20 +1,20 @@
 ; 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 -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 -use-orcmcjit -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 -extra-object=%t.cachedir2/multi-module-b.o -extra-object=%t.cachedir2/multi-module-c.o %s
+; RUN: %lli -use-orcmcjit -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
 ; RUN: llvm-ar r %t.cachedir3/load-object.a %t.cachedir2/multi-module-b.o
 ; RUN: llvm-ar r %t.cachedir3/load-object.a %t.cachedir2/multi-module-c.o
 
 ; This line test MCJIT archive loading
-; RUN: %lli -extra-archive=%t.cachedir3/load-object.a %s
+; RUN: %lli -use-orcmcjit -extra-archive=%t.cachedir3/load-object.a %s
 
 declare i32 @FB()
 

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/cross-module-a.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/cross-module-a.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/cross-module-a.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/cross-module-a.ll Mon Mar 23 01:02:49 2015
@@ -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 -use-orcmcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
 
 declare i32 @FB()
 

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/cross-module-sm-pic-a.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/cross-module-sm-pic-a.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/cross-module-sm-pic-a.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/cross-module-sm-pic-a.ll Mon Mar 23 01:02:49 2015
@@ -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 -relocation-model=pic -code-model=small %s > /dev/null
+; RUN: %lli -use-orcmcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext -relocation-model=pic -code-model=small %s > /dev/null
 ; XFAIL: mips, i686, i386, arm
 
 declare i32 @FB()

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/multi-module-a.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/multi-module-a.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/multi-module-a.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/multi-module-a.ll Mon Mar 23 01:02:49 2015
@@ -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 -use-orcmcjit -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
 
 declare i32 @FB()
 

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/multi-module-sm-pic-a.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/multi-module-sm-pic-a.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/multi-module-sm-pic-a.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/multi-module-sm-pic-a.ll Mon Mar 23 01:02:49 2015
@@ -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 -relocation-model=pic -code-model=small %s > /dev/null
+; RUN: %lli -use-orcmcjit -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 -relocation-model=pic -code-model=small %s > /dev/null
 ; XFAIL: mips, i686, i386, arm
 
 declare i32 @FB()

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/simpletest-remote.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/simpletest-remote.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/simpletest-remote.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/simpletest-remote.ll Mon Mar 23 01:02:49 2015
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; RUN: %lli -use-orcmcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
 
 define i32 @bar() nounwind {
 	ret i32 0

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/stubs-remote.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/stubs-remote.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/stubs-remote.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/stubs-remote.ll Mon Mar 23 01:02:49 2015
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
+; RUN: %lli -use-orcmcjit -remote-mcjit -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
 ; XFAIL: *
 ; This test should fail until remote symbol resolution is supported.
 

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/stubs-sm-pic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/stubs-sm-pic.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/stubs-sm-pic.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/stubs-sm-pic.ll Mon Mar 23 01:02:49 2015
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s
+; RUN: %lli -use-orcmcjit -remote-mcjit -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s
 ; XFAIL: *
 ; This function should fail until remote symbol resolution is supported.
 

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-common-symbols-remote.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-common-symbols-remote.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-common-symbols-remote.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-common-symbols-remote.ll Mon Mar 23 01:02:49 2015
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -O0 -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
+; RUN: %lli -use-orcmcjit -remote-mcjit -O0 -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
 
 ; The intention of this test is to verify that symbols mapped to COMMON in ELF
 ; work as expected.

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-data-align-remote.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-data-align-remote.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-data-align-remote.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-data-align-remote.ll Mon Mar 23 01:02:49 2015
@@ -1,4 +1,4 @@
-; RUN:  %lli -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
+; RUN:  %lli -use-orcmcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
 
 ; Check that a variable is always aligned as specified.
 

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-fp-no-external-funcs-remote.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-fp-no-external-funcs-remote.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-fp-no-external-funcs-remote.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-fp-no-external-funcs-remote.ll Mon Mar 23 01:02:49 2015
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; RUN: %lli -use-orcmcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
 
 define double @test(double* %DP, double %Arg) nounwind {
 	%D = load double, double* %DP		; <double> [#uses=1]

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-global-init-nonzero-remote.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-global-init-nonzero-remote.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-global-init-nonzero-remote.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-global-init-nonzero-remote.ll Mon Mar 23 01:02:49 2015
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
+; RUN: %lli -use-orcmcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
 
 @count = global i32 1, align 4
 

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-global-init-nonzero-sm-pic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-global-init-nonzero-sm-pic.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-global-init-nonzero-sm-pic.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-global-init-nonzero-sm-pic.ll Mon Mar 23 01:02:49 2015
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -relocation-model=pic -code-model=small %s > /dev/null
+; RUN: %lli -use-orcmcjit -remote-mcjit -relocation-model=pic -code-model=small %s > /dev/null
 ; XFAIL: mips, aarch64, arm, i686, i386
 
 @count = global i32 1, align 4

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-remote.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-remote.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-remote.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-remote.ll Mon Mar 23 01:02:49 2015
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
+; RUN: %lli -use-orcmcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
 
 @.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
 @ptr = global i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i32 0, i32 0), align 4

Modified: llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-sm-pic.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-sm-pic.ll?rev=232931&r1=232930&r2=232931&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-sm-pic.ll (original)
+++ llvm/trunk/test/ExecutionEngine/OrcJIT/remote/test-ptr-reloc-sm-pic.ll Mon Mar 23 01:02:49 2015
@@ -1,4 +1,4 @@
-; RUN: %lli -remote-mcjit -O0 -relocation-model=pic -code-model=small %s
+; RUN: %lli -use-orcmcjit -remote-mcjit -O0 -relocation-model=pic -code-model=small %s
 ; XFAIL: mips, aarch64, arm, i686, i386
 
 @.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1





More information about the llvm-commits mailing list