mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
Fix some more MCJIT PIC test XFAILs (for i386)
Patch by Dimitry Andric git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191111 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6b2448326f
commit
d48bd3ca37
@ -1,5 +1,5 @@
|
|||||||
; RUN: %lli_mcjit -remote-mcjit -relocation-model=pic -code-model=small %s > /dev/null
|
; RUN: %lli_mcjit -remote-mcjit -relocation-model=pic -code-model=small %s > /dev/null
|
||||||
; XFAIL: mips, aarch64, arm, i686
|
; XFAIL: mips, aarch64, arm, i686, i386
|
||||||
|
|
||||||
@count = global i32 1, align 4
|
@count = global i32 1, align 4
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
; RUN: %lli_mcjit -remote-mcjit -O0 -relocation-model=pic -code-model=small %s
|
; RUN: %lli_mcjit -remote-mcjit -O0 -relocation-model=pic -code-model=small %s
|
||||||
; XFAIL: mips, aarch64, arm, i686
|
; XFAIL: mips, aarch64, arm, i686, i386
|
||||||
|
|
||||||
@.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
|
@.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
|
||||||
@ptr = global i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), align 4
|
@ptr = global i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), align 4
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
; RUN: %lli_mcjit -relocation-model=pic -code-model=small %s > /dev/null
|
; RUN: %lli_mcjit -relocation-model=pic -code-model=small %s > /dev/null
|
||||||
; XFAIL: mips, aarch64, arm, i686
|
; XFAIL: mips, aarch64, arm, i686. i386
|
||||||
|
|
||||||
@count = global i32 1, align 4
|
@count = global i32 1, align 4
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
; RUN: %lli_mcjit -O0 -relocation-model=pic -code-model=small %s
|
; RUN: %lli_mcjit -O0 -relocation-model=pic -code-model=small %s
|
||||||
; XFAIL: mips, aarch64, arm, i686
|
; XFAIL: mips, aarch64, arm, i686, i386
|
||||||
|
|
||||||
@.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
|
@.str = private unnamed_addr constant [6 x i8] c"data1\00", align 1
|
||||||
@ptr = global i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), align 4
|
@ptr = global i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0), align 4
|
||||||
|
@ -173,7 +173,7 @@ jit_impl_cfg = lit_config.params.get('jit_impl', None)
|
|||||||
if jit_impl_cfg == 'mcjit':
|
if jit_impl_cfg == 'mcjit':
|
||||||
# When running with mcjit, mangle -mcjit into target triple
|
# When running with mcjit, mangle -mcjit into target triple
|
||||||
# and add -use-mcjit flag to lli invocation
|
# and add -use-mcjit flag to lli invocation
|
||||||
if 'i686' in config.target_triple:
|
if 'i386' in config.target_triple or 'i686' in config.target_triple:
|
||||||
config.target_triple += jit_impl_cfg + '-ia32'
|
config.target_triple += jit_impl_cfg + '-ia32'
|
||||||
elif 'x86_64' in config.target_triple:
|
elif 'x86_64' in config.target_triple:
|
||||||
config.target_triple += jit_impl_cfg + '-ia64'
|
config.target_triple += jit_impl_cfg + '-ia64'
|
||||||
|
Loading…
Reference in New Issue
Block a user