Skip to content

Commit

Permalink
[MCJIT] Convert tests to check 'target=...'
Browse files Browse the repository at this point in the history
Part of the project to eliminate special handling for triples in lit
expressions.
  • Loading branch information
pogo59 committed Dec 15, 2022
1 parent d4c65dc commit 7e4218b
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll
@@ -1,6 +1,6 @@
; 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: target={{.*-windows-(gnu|msvc)}}
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

declare i32 @FB()
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/ExecutionEngine/MCJIT/remote/eh.ll
@@ -1,7 +1,7 @@
; REQUIRES: cxx-shared-library
; RUN: %lli -jit-kind=mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s
; XFAIL: target=arm{{.*}}, target={{.*-(cygwin|windows-msvc|windows-gnu)}}
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed
; FIXME: Something hangs here.
; UNSUPPORTED: use_msan_with_origins
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/ExecutionEngine/MCJIT/remote/multi-module-a.ll
@@ -1,6 +1,6 @@
; 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: target={{.*-windows-(gnu|msvc)}}
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

declare i32 @FB()
Expand Down
@@ -1,6 +1,6 @@
; RUN: %lli -jit-kind=mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
; XFAIL: target={{.*-windows-(gnu|msvc)}}
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

define i32 @bar() nounwind {
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll
@@ -1,6 +1,6 @@
; RUN: %lli -jit-kind=mcjit -remote-mcjit -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
; XFAIL: target={{.*-windows-(gnu|msvc)}}
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

define i32 @main() nounwind {
Expand Down
@@ -1,6 +1,6 @@
; RUN: %lli -jit-kind=mcjit -remote-mcjit -O0 -disable-lazy-compilation=false -mcjit-remote-process=lli-child-target%exeext %s
; XFAIL: target={{.*-windows-(gnu|msvc)}}
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

; The intention of this test is to verify that symbols mapped to COMMON in ELF
Expand Down
@@ -1,6 +1,6 @@
; RUN: %lli -jit-kind=mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
; XFAIL: target={{.*-windows-(gnu|msvc)}}
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

; Check that a variable is always aligned as specified.
Expand Down
@@ -1,6 +1,6 @@
; RUN: %lli -jit-kind=mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
; XFAIL: target={{.*-windows-(gnu|msvc)}}
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

define double @test(ptr %DP, double %Arg) nounwind {
Expand Down
@@ -1,6 +1,6 @@
; RUN: %lli -jit-kind=mcjit -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
; XFAIL: target={{.*-windows-(gnu|msvc)}}
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

@count = global i32 1, align 4
Expand Down
Expand Up @@ -2,7 +2,7 @@
; RUN: -relocation-model=pic -code-model=small %s > /dev/null
; XFAIL: target={{(mips|mipsel)-.*}}, target={{(aarch64|arm).*}}, target={{(i686|i386).*}}
; XFAIL: target={{.*-windows-(gnu|msvc)}}
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; UNSUPPORTED: target=target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

@count = global i32 1, align 4
Expand Down
@@ -1,6 +1,6 @@
; RUN: %lli -jit-kind=mcjit -remote-mcjit -O0 -mcjit-remote-process=lli-child-target%exeext %s
; XFAIL: target={{.*-windows-(gnu|msvc)}}
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

@.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
Expand Down
Expand Up @@ -2,7 +2,7 @@
; RUN: -O0 -relocation-model=pic -code-model=small %s
; XFAIL: target={{(mips|mipsel)-.*}}, target={{(aarch64|arm).*}}, target={{(i686|i386).*}}
; XFAIL: target={{.*-windows-(gnu|msvc)}}
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

@.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
Expand Down

0 comments on commit 7e4218b

Please sign in to comment.