diff options
author | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-05-06 16:21:50 +0000 |
---|---|---|
committer | Ulrich Weigand <ulrich.weigand@de.ibm.com> | 2013-05-06 16:21:50 +0000 |
commit | 7207285e65730c0ce488ca2ddf86dee27d66e57a (patch) | |
tree | 112464875db3728ffce2a2be2f14daa3f1eada50 /test | |
parent | 097b88fff6c091e3ce314d1b5fe89ed3e691b261 (diff) | |
download | llvm-7207285e65730c0ce488ca2ddf86dee27d66e57a.tar.gz llvm-7207285e65730c0ce488ca2ddf86dee27d66e57a.tar.bz2 llvm-7207285e65730c0ce488ca2ddf86dee27d66e57a.tar.xz |
[SystemZ] Set up JIT/MCJIT test cases
This patch adds the necessary configuration bits and #ifdef's to set up
the JIT/MCJIT test cases for SystemZ. Like other recent targets, we do
fully support MCJIT, but do not support the old JIT at all. Set up the
lit config files accordingly, and disable old-JIT unit tests.
Patch by Richard Sandiford.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181207 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/ExecutionEngine/MCJIT/lit.local.cfg | 4 | ||||
-rw-r--r-- | test/ExecutionEngine/lit.local.cfg | 2 | ||||
-rw-r--r-- | test/lit.cfg | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/test/ExecutionEngine/MCJIT/lit.local.cfg b/test/ExecutionEngine/MCJIT/lit.local.cfg index 2dbc222bba..30ed4e87e6 100644 --- a/test/ExecutionEngine/MCJIT/lit.local.cfg +++ b/test/ExecutionEngine/MCJIT/lit.local.cfg @@ -9,13 +9,13 @@ root = getRoot(config) targets = set(root.targets_to_build.split()) if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \ - ('Mips' in targets) | ('PowerPC' in targets): + ('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets): config.unsupported = False else: config.unsupported = True if root.host_arch not in ['i386', 'x86', 'x86_64', - 'AArch64', 'ARM', 'Mips', 'PowerPC']: + 'AArch64', 'ARM', 'Mips', 'PowerPC', 'SystemZ']: config.unsupported = True if 'i386-apple-darwin' in root.target_triple: diff --git a/test/ExecutionEngine/lit.local.cfg b/test/ExecutionEngine/lit.local.cfg index 1f8ae69b98..b6945adf01 100644 --- a/test/ExecutionEngine/lit.local.cfg +++ b/test/ExecutionEngine/lit.local.cfg @@ -7,7 +7,7 @@ def getRoot(config): root = getRoot(config) -if root.host_arch in ['PowerPC', 'AArch64']: +if root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']: config.unsupported = True if 'hexagon' in root.target_triple: diff --git a/test/lit.cfg b/test/lit.cfg index b423c6e80b..d38775d907 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -160,7 +160,8 @@ config.substitutions.append( ('%lli_mcjit', lli_mcjit) ) # but simply want use the currently considered most reliable jit for platform # FIXME: ppc32 is not ready for mcjit. if 'arm' in config.target_triple \ - or 'powerpc64' in config.target_triple: + or 'powerpc64' in config.target_triple \ + or 's390x' in config.target_triple: defaultIsMCJIT = 'true' else: defaultIsMCJIT = 'false' |