[llvm] r181135 - AArch64: enable MCJIT and tests now that everything passes.
Tim Northover
Tim.Northover at arm.com
Sat May 4 13:14:22 PDT 2013
Author: tnorthover
Date: Sat May 4 15:14:22 2013
New Revision: 181135
URL: http://llvm.org/viewvc/llvm-project?rev=181135&view=rev
Log:
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.
Modified:
llvm/trunk/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp
llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg
Modified: llvm/trunk/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp?rev=181135&r1=181134&r2=181135&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp Sat May 4 15:14:22 2013
@@ -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");
}
Modified: llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg?rev=181135&r1=181134&r2=181135&view=diff
==============================================================================
--- llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg (original)
+++ llvm/trunk/test/ExecutionEngine/MCJIT/lit.local.cfg Sat May 4 15:14:22 2013
@@ -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:
More information about the llvm-commits
mailing list