diff options
| author | Tim Northover <Tim.Northover@arm.com> | 2013-05-04 20:14:22 +0000 |
|---|---|---|
| committer | Tim Northover <Tim.Northover@arm.com> | 2013-05-04 20:14:22 +0000 |
| commit | 7b55b97dba57e32aac7fbdeb8a7b54ab32d90e8d (patch) | |
| tree | a7afae93e55cd8a799123564c27f547ff3f8f4f2 | |
| parent | b23d8dbbaced12d6b4344aaf3efd8b6e1d2fd7f2 (diff) | |
| download | llvm-7b55b97dba57e32aac7fbdeb8a7b54ab32d90e8d.zip llvm-7b55b97dba57e32aac7fbdeb8a7b54ab32d90e8d.tar.gz llvm-7b55b97dba57e32aac7fbdeb8a7b54ab32d90e8d.tar.bz2 | |
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
| -rw-r--r-- | llvm/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp | 2 | ||||
| -rw-r--r-- | llvm/test/ExecutionEngine/MCJIT/lit.local.cfg | 7 |
2 files changed, 5 insertions, 4 deletions
diff --git a/llvm/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp b/llvm/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp index b8099cb..fc706a4 100644 --- a/llvm/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp +++ b/llvm/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp @@ -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"); } diff --git a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg index 3630286..2dbc222 100644 --- a/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg +++ b/llvm/test/ExecutionEngine/MCJIT/lit.local.cfg @@ -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: |
