diff options
author | Renato Golin <renato.golin@linaro.org> | 2013-05-18 19:42:07 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2013-05-18 19:42:07 +0000 |
commit | 6d65f333a3079ea4be74e73ea1f68ab0897fec77 (patch) | |
tree | be8689145c46c9673abf9fa2b0394478bd2b9b7b | |
parent | cb9d4667b7159944598c178dbb6568bc20ae069b (diff) | |
download | llvm-6d65f333a3079ea4be74e73ea1f68ab0897fec77.tar.gz llvm-6d65f333a3079ea4be74e73ea1f68ab0897fec77.tar.bz2 llvm-6d65f333a3079ea4be74e73ea1f68ab0897fec77.tar.xz |
Unsupported remote JIT on ARM
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182201 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/ExecutionEngine/MCJIT/lit.local.cfg | 3 | ||||
-rw-r--r-- | test/ExecutionEngine/MCJIT/remote/lit.local.cfg | 11 | ||||
-rw-r--r-- | test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll (renamed from test/ExecutionEngine/MCJIT/simpletest-remote.ll) | 1 | ||||
-rw-r--r-- | test/ExecutionEngine/MCJIT/remote/stubs-remote.ll (renamed from test/ExecutionEngine/MCJIT/stubs-remote.ll) | 0 | ||||
-rw-r--r-- | test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll (renamed from test/ExecutionEngine/MCJIT/test-common-symbols-remote.ll) | 6 | ||||
-rw-r--r-- | test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll (renamed from test/ExecutionEngine/MCJIT/test-data-align-remote.ll) | 0 | ||||
-rw-r--r-- | test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll (renamed from test/ExecutionEngine/MCJIT/test-fp-no-external-funcs-remote.ll) | 1 | ||||
-rw-r--r-- | test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll (renamed from test/ExecutionEngine/MCJIT/test-global-init-nonzero-remote.ll) | 0 | ||||
-rw-r--r-- | test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll (renamed from test/ExecutionEngine/MCJIT/test-ptr-reloc-remote.ll) | 1 |
9 files changed, 17 insertions, 6 deletions
diff --git a/test/ExecutionEngine/MCJIT/lit.local.cfg b/test/ExecutionEngine/MCJIT/lit.local.cfg index 30ed4e87e6..9f0552a50f 100644 --- a/test/ExecutionEngine/MCJIT/lit.local.cfg +++ b/test/ExecutionEngine/MCJIT/lit.local.cfg @@ -18,6 +18,9 @@ if root.host_arch not in ['i386', 'x86', 'x86_64', 'AArch64', 'ARM', 'Mips', 'PowerPC', 'SystemZ']: config.unsupported = True +if 'armv7' in root.host_arch: + config.unsupported = False + if 'i386-apple-darwin' in root.target_triple: config.unsupported = True diff --git a/test/ExecutionEngine/MCJIT/remote/lit.local.cfg b/test/ExecutionEngine/MCJIT/remote/lit.local.cfg new file mode 100644 index 0000000000..12fcda0273 --- /dev/null +++ b/test/ExecutionEngine/MCJIT/remote/lit.local.cfg @@ -0,0 +1,11 @@ +config.suffixes = ['.ll', '.c', '.cpp'] + +def getRoot(config): + if not config.parent: + return config + return getRoot(config.parent) + +root = getRoot(config) + +if 'arm' in root.target_triple: + config.unsupported = True diff --git a/test/ExecutionEngine/MCJIT/simpletest-remote.ll b/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll index 9ceaf545c5..bdd7e3a593 100644 --- a/test/ExecutionEngine/MCJIT/simpletest-remote.ll +++ b/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll @@ -9,4 +9,3 @@ define i32 @main() { %r = call i32 @bar( ) ; <i32> [#uses=1] ret i32 %r } - diff --git a/test/ExecutionEngine/MCJIT/stubs-remote.ll b/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll index 15cb5d037e..15cb5d037e 100644 --- a/test/ExecutionEngine/MCJIT/stubs-remote.ll +++ b/test/ExecutionEngine/MCJIT/remote/stubs-remote.ll diff --git a/test/ExecutionEngine/MCJIT/test-common-symbols-remote.ll b/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll index 3b8ee9dd1c..a336c017c0 100644 --- a/test/ExecutionEngine/MCJIT/test-common-symbols-remote.ll +++ b/test/ExecutionEngine/MCJIT/remote/test-common-symbols-remote.ll @@ -9,14 +9,14 @@ ; int zero_int; ; double zero_double; ; int zero_arr[10]; -; +; ; int main() ; { ; zero_arr[zero_int + 5] = 40; -; +; ; if (zero_double < 1.0) ; zero_arr[zero_int + 2] = 70; -; +; ; for (int i = 1; i < 10; ++i) { ; zero_arr[i] = zero_arr[i - 1] + zero_arr[i]; ; } diff --git a/test/ExecutionEngine/MCJIT/test-data-align-remote.ll b/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll index 9daf1684de..9daf1684de 100644 --- a/test/ExecutionEngine/MCJIT/test-data-align-remote.ll +++ b/test/ExecutionEngine/MCJIT/remote/test-data-align-remote.ll diff --git a/test/ExecutionEngine/MCJIT/test-fp-no-external-funcs-remote.ll b/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll index 847d2253a0..c7d48126ae 100644 --- a/test/ExecutionEngine/MCJIT/test-fp-no-external-funcs-remote.ll +++ b/test/ExecutionEngine/MCJIT/remote/test-fp-no-external-funcs-remote.ll @@ -19,4 +19,3 @@ define i32 @main() { call double @test( double* %X, double 2.000000e+00 ) ; <double>:1 [#uses=0] ret i32 0 } - diff --git a/test/ExecutionEngine/MCJIT/test-global-init-nonzero-remote.ll b/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll index b8d94b50cf..b8d94b50cf 100644 --- a/test/ExecutionEngine/MCJIT/test-global-init-nonzero-remote.ll +++ b/test/ExecutionEngine/MCJIT/remote/test-global-init-nonzero-remote.ll diff --git a/test/ExecutionEngine/MCJIT/test-ptr-reloc-remote.ll b/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll index f2c2cd6199..833a56a4a9 100644 --- a/test/ExecutionEngine/MCJIT/test-ptr-reloc-remote.ll +++ b/test/ExecutionEngine/MCJIT/remote/test-ptr-reloc-remote.ll @@ -14,4 +14,3 @@ entry: %. = zext i1 %cmp to i32 ret i32 %. } - |