diff options
| author | Renato Golin <renato.golin@linaro.org> | 2014-02-25 09:31:05 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2014-02-25 09:31:05 +0000 |
| commit | dd8c80187104e1cea0af4a55aa82c2ce0adcaa63 (patch) | |
| tree | f4c624c2f145586a648e73e56306c6c1e48d3559 /llvm | |
| parent | 69736692d835d0d0bab9038839f46481b1979e17 (diff) | |
| download | bcm5719-llvm-dd8c80187104e1cea0af4a55aa82c2ce0adcaa63.tar.gz bcm5719-llvm-dd8c80187104e1cea0af4a55aa82c2ce0adcaa63.zip | |
Disable old JIT unittests for AARch64
llvm-svn: 202127
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp | 2 | ||||
| -rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/JITTest.cpp | 7 | ||||
| -rw-r--r-- | llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp | 3 |
3 files changed, 7 insertions, 5 deletions
diff --git a/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp index 7b8a7f55041..41b4f2f7749 100644 --- a/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp +++ b/llvm/unittests/ExecutionEngine/JIT/JITEventListenerTest.cpp @@ -73,7 +73,7 @@ class JITEventListenerTest : public testing::Test { }; // Tests on SystemZ disabled as we're running the old JIT -#if !defined(__s390__) +#if !defined(__s390__) && !defined(__aarch64__) Function *buildFunction(Module *M) { Function *Result = Function::Create( TypeBuilder<int32_t(int32_t), false>::get(getGlobalContext()), diff --git a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp index 1c631a8051e..4e1d6e78903 100644 --- a/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp +++ b/llvm/unittests/ExecutionEngine/JIT/JITTest.cpp @@ -52,7 +52,8 @@ extern "C" int32_t JITTest_AvailableExternallyFunction() { namespace { // Tests on ARM, PowerPC and SystemZ disabled as we're running the old jit -#if !defined(__arm__) && !defined(__powerpc__) && !defined(__s390__) +#if !defined(__arm__) && !defined(__powerpc__) && !defined(__s390__) \ + && !defined(__aarch64__) Function *makeReturnGlobal(std::string Name, GlobalVariable *G, Module *M) { std::vector<Type*> params; @@ -438,7 +439,7 @@ TEST_F(JITTest, ModuleDeletion) { // too far away to call directly. This #if can probably be removed when // http://llvm.org/PR5201 is fixed. #if !defined(__arm__) && !defined(__mips__) && \ - !defined(__powerpc__) && !defined(__ppc__) + !defined(__powerpc__) && !defined(__ppc__) && !defined(__aarch64__) typedef int (*FooPtr) (); TEST_F(JITTest, NoStubs) { @@ -514,7 +515,7 @@ TEST_F(JITTest, FunctionPointersOutliveTheirCreator) { // ARM does not have an implementation of replaceMachineCodeForFunction(), // so recompileAndRelinkFunction doesn't work. -#if !defined(__arm__) +#if !defined(__arm__) && !defined(__aarch64__) TEST_F(JITTest, FunctionIsRecompiledAndRelinked) { Function *F = Function::Create(TypeBuilder<int(void), false>::get(Context), GlobalValue::ExternalLinkage, "test", M); diff --git a/llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp b/llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp index 183936cb3a3..92b7a92acb1 100644 --- a/llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp +++ b/llvm/unittests/ExecutionEngine/JIT/MultiJITTest.cpp @@ -21,7 +21,8 @@ using namespace llvm; namespace { // ARM, PowerPC and SystemZ tests disabled pending fix for PR10783. -#if !defined(__arm__) && !defined(__powerpc__) && !defined(__s390__) +#if !defined(__arm__) && !defined(__powerpc__) && !defined(__s390__) \ + && !defined(__aarch64__) bool LoadAssemblyInto(Module *M, const char *assembly) { SMDiagnostic Error; |

