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 b23d8dbbac
commit 7b55b97dba
2 changed files with 5 additions and 4 deletions

View File

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

View File

@ -8,13 +8,14 @@ def getRoot(config):
root = getRoot(config) root = getRoot(config)
targets = set(root.targets_to_build.split()) targets = set(root.targets_to_build.split())
if ('X86' in targets) | ('ARM' in targets) | ('Mips' in targets) | \ if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
('PowerPC' in targets): ('Mips' in targets) | ('PowerPC' in targets):
config.unsupported = False config.unsupported = False
else: else:
config.unsupported = True 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 config.unsupported = True
if 'i386-apple-darwin' in root.target_triple: if 'i386-apple-darwin' in root.target_triple: