1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

Disable old JIT unittests for AARch64

llvm-svn: 202127
This commit is contained in:
Renato Golin 2014-02-25 09:31:05 +00:00
parent 0d1135ea17
commit 328a9d6094
3 changed files with 7 additions and 5 deletions

View File

@ -73,7 +73,7 @@ class JITEventListenerTest : public testing::Test {
}; };
// Tests on SystemZ disabled as we're running the old JIT // Tests on SystemZ disabled as we're running the old JIT
#if !defined(__s390__) #if !defined(__s390__) && !defined(__aarch64__)
Function *buildFunction(Module *M) { Function *buildFunction(Module *M) {
Function *Result = Function::Create( Function *Result = Function::Create(
TypeBuilder<int32_t(int32_t), false>::get(getGlobalContext()), TypeBuilder<int32_t(int32_t), false>::get(getGlobalContext()),

View File

@ -52,7 +52,8 @@ extern "C" int32_t JITTest_AvailableExternallyFunction() {
namespace { namespace {
// Tests on ARM, PowerPC and SystemZ disabled as we're running the old jit // 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) { Function *makeReturnGlobal(std::string Name, GlobalVariable *G, Module *M) {
std::vector<Type*> params; 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 // too far away to call directly. This #if can probably be removed when
// http://llvm.org/PR5201 is fixed. // http://llvm.org/PR5201 is fixed.
#if !defined(__arm__) && !defined(__mips__) && \ #if !defined(__arm__) && !defined(__mips__) && \
!defined(__powerpc__) && !defined(__ppc__) !defined(__powerpc__) && !defined(__ppc__) && !defined(__aarch64__)
typedef int (*FooPtr) (); typedef int (*FooPtr) ();
TEST_F(JITTest, NoStubs) { TEST_F(JITTest, NoStubs) {
@ -514,7 +515,7 @@ TEST_F(JITTest, FunctionPointersOutliveTheirCreator) {
// ARM does not have an implementation of replaceMachineCodeForFunction(), // ARM does not have an implementation of replaceMachineCodeForFunction(),
// so recompileAndRelinkFunction doesn't work. // so recompileAndRelinkFunction doesn't work.
#if !defined(__arm__) #if !defined(__arm__) && !defined(__aarch64__)
TEST_F(JITTest, FunctionIsRecompiledAndRelinked) { TEST_F(JITTest, FunctionIsRecompiledAndRelinked) {
Function *F = Function::Create(TypeBuilder<int(void), false>::get(Context), Function *F = Function::Create(TypeBuilder<int(void), false>::get(Context),
GlobalValue::ExternalLinkage, "test", M); GlobalValue::ExternalLinkage, "test", M);

View File

@ -21,7 +21,8 @@ using namespace llvm;
namespace { namespace {
// ARM, PowerPC and SystemZ tests disabled pending fix for PR10783. // 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) { bool LoadAssemblyInto(Module *M, const char *assembly) {
SMDiagnostic Error; SMDiagnostic Error;