1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00

[lli] Make -jit-kind=orc the default JIT engine

MCJIT served well as the default JIT engine in lli for a long time, but the code is getting old and maintenance efforts don't seem to be in sight. In the meantime Orc became mature enough to fill that gap. The newly added greddy mode is very similar to the execution model of MCJIT. It should work as a drop-in replacement for common JIT tasks.

Reviewed By: lhames

Differential Revision: https://reviews.llvm.org/D98931
This commit is contained in:
Stefan Gränitz 2021-03-23 10:22:06 +01:00
parent 3f2ee9f1ab
commit 4b5fb80723
101 changed files with 103 additions and 33 deletions

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,4 @@
; RUN: %lli -force-interpreter %s
; RUN: %lli -jit-kind=mcjit -force-interpreter %s
define i32 @func() {
entry:

View File

@ -1,4 +1,4 @@
; RUN: %lli -force-interpreter %s
; RUN: %lli -jit-kind=mcjit -force-interpreter %s
declare void @exit(i32)
declare i32 @rand()

View File

@ -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 dont test it
declare float @llvm.sin.f32(float)

View File

@ -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]

View File

@ -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) {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -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.

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @bar(i8* %X) {

View File

@ -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 ; <i64*> [#uses=1]

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s test
; RUN: %lli %s test
declare i32 @puts(i8*)

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
; Testcase distilled from 256.bzip2.

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
; Testcase distilled from 256.bzip2.

View File

@ -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

View File

@ -1,4 +1,4 @@
; RUN: %lli %s > /dev/null
; RUN: %lli -jit-kind=mcjit %s > /dev/null
;
; Regression Test: EnvironmentTest.ll

View File

@ -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

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
@A = global i32 0 ; <i32*> [#uses=1]

View File

@ -1,4 +1,5 @@
; PR672
; RUN: %lli -jit-kind=mcjit %s
; RUN: %lli %s
; XFAIL: mcjit-ia32

View File

@ -1,4 +1,4 @@
; RUN: %lli -force-interpreter %s
; RUN: %lli -jit-kind=mcjit -force-interpreter %s
; PR1836
define i32 @main() {

View File

@ -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"

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s
; RUN: %lli %s
;
; Verify relocations to global symbols with addend work correctly.

View File

@ -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()

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit -extra-module=%p/Inputs/cross-module-b.ll -relocation-model=pic -code-model=small %s > /dev/null
; RUN: %lli -extra-module=%p/Inputs/cross-module-b.ll -relocation-model=pic -code-model=small %s > /dev/null
; XFAIL: mips-, mipsel-, i686, i386

View File

@ -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*)

View File

@ -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)

View File

@ -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) {

View File

@ -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]

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
@X = global i32 7 ; <i32*> [#uses=0]

View File

@ -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()

View File

@ -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()

View File

@ -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)

View File

@ -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 -relocation-model=pic -code-model=small %s > /dev/null
; RUN: %lli -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

View File

@ -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) {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit -O0 -disable-lazy-compilation=false %s
; RUN: %lli -O0 -disable-lazy-compilation=false %s
; The intention of this test is to verify that symbols mapped to COMMON in ELF

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @bar() {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s
; RUN: %lli -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s
; XFAIL: mips-, mipsel-, i686, i386, aarch64, arm

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit -disable-lazy-compilation=false %s
; RUN: %lli -disable-lazy-compilation=false %s
define i32 @main() nounwind {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
; test unconditional branch

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @_Z14func_exit_codev() nounwind uwtable {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
declare void @exit(i32)

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @foo() {

View File

@ -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

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit -O0 -disable-lazy-compilation=false %s
; RUN: %lli -O0 -disable-lazy-compilation=false %s
; The intention of this test is to verify that symbols mapped to COMMON in ELF

View File

@ -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

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit -O0 %s
; RUN: %lli -O0 %s
; Check that a variable is always aligned as specified.

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define double @test(double* %DP, double %Arg) {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define double @test(double* %DP, double %Arg) {

View File

@ -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

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit -relocation-model=pic -code-model=small %s > /dev/null
; RUN: %lli -relocation-model=pic -code-model=small %s > /dev/null
; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
@count = global i32 1, align 4

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
@count = global i32 0, align 4

View File

@ -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) {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() nounwind uwtable {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
; test phi node

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit -O0 -relocation-model=pic -code-model=small %s
; RUN: %lli -O0 -relocation-model=pic -code-model=small %s
; XFAIL: mips-, mipsel-, aarch64, arm, i686, i386

View File

@ -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

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
; test return instructions

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() nounwind uwtable {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -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

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s | FileCheck %s
; RUN: %lli %s | FileCheck %s
; REQUIRES: fma3
; CHECK: 12.000000

View File

@ -2,6 +2,7 @@
; floating point intrinsics (defined as macros) are used.
; This unit test guards against the failure.
;
; RUN: %lli -jit-kind=mcjit %s | FileCheck %s
; RUN: %lli %s | FileCheck %s
@flt = internal global float 12.0e+0

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i64 @foo() {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -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> <i1 true,i1 true> to <2 x i8>

View File

@ -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

View File

@ -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() {

View File

@ -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

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -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() {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -1,3 +1,4 @@
; RUN: %lli -jit-kind=mcjit %s > /dev/null
; RUN: %lli %s > /dev/null
define i32 @main() {

View File

@ -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> <i8 0, i8 0>, <i8 1, i8 2>

View File

@ -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() {

View File

@ -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

View File

@ -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:

Some files were not shown because too many files have changed in this diff Show More