summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2013-05-06 16:21:50 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2013-05-06 16:21:50 +0000
commit80435baa146e9218c46beb4b4ea3961aefd8d950 (patch)
treeb1961cc4bd917140cf449046ba6568c1ef81dca3 /llvm/test/ExecutionEngine
parent982a21510e1b77c5ba4a5506f80671350d0d63ae (diff)
downloadbcm5719-llvm-80435baa146e9218c46beb4b4ea3961aefd8d950.tar.gz
bcm5719-llvm-80435baa146e9218c46beb4b4ea3961aefd8d950.zip
[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. llvm-svn: 181207
Diffstat (limited to 'llvm/test/ExecutionEngine')
-rw-r--r--llvm/test/ExecutionEngine/MCJIT/lit.local.cfg4
-rw-r--r--llvm/test/ExecutionEngine/lit.local.cfg2
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
index 2dbc222bba0..30ed4e87e6c 100644
--- a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg
+++ b/llvm/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/llvm/test/ExecutionEngine/lit.local.cfg b/llvm/test/ExecutionEngine/lit.local.cfg
index 1f8ae69b986..b6945adf015 100644
--- a/llvm/test/ExecutionEngine/lit.local.cfg
+++ b/llvm/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:
OpenPOWER on IntegriCloud