1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

AArch64: enable MCJIT and tests now that everything passes.

This removes dire warnings about AArch64 being unsupported and enables
the tests when appropriate on this platform.

llvm-svn: 181135
This commit is contained in:
Tim Northover 2013-05-04 20:14:22 +00:00
parent 1394ed35df
commit 390335941f
2 changed files with 5 additions and 4 deletions

View File

@ -19,6 +19,6 @@ using namespace llvm;
Target llvm::TheAArch64Target;
extern "C" void LLVMInitializeAArch64TargetInfo() {
RegisterTarget<Triple::aarch64>
RegisterTarget<Triple::aarch64, /*HasJIT=*/true>
X(TheAArch64Target, "aarch64", "AArch64");
}

View File

@ -8,13 +8,14 @@ def getRoot(config):
root = getRoot(config)
targets = set(root.targets_to_build.split())
if ('X86' in targets) | ('ARM' in targets) | ('Mips' in targets) | \
('PowerPC' in targets):
if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
('Mips' in targets) | ('PowerPC' in targets):
config.unsupported = False
else:
config.unsupported = True
if root.host_arch not in ['i386', 'x86', 'x86_64', 'ARM', 'Mips', 'PowerPC']:
if root.host_arch not in ['i386', 'x86', 'x86_64',
'AArch64', 'ARM', 'Mips', 'PowerPC']:
config.unsupported = True
if 'i386-apple-darwin' in root.target_triple: