mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181135 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d52eaae157
commit
7428539a1c
@ -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");
|
||||
}
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user