AArch64: use MCJIT by default and enable related tests.
authorTim Northover <Tim.Northover@arm.com>
Mon, 6 May 2013 16:51:08 +0000 (16:51 +0000)
committerTim Northover <Tim.Northover@arm.com>
Mon, 6 May 2013 16:51:08 +0000 (16:51 +0000)
This just enables some testing I'd missed after implementing MCJIT
support.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181215 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/Profiling/lit.local.cfg
test/lit.cfg

index 444b7dc274108e81daa01cca0ffc93ad6fd6c886..d40fa4f9d3abdc8af0644f49636d05be452ac60e 100644 (file)
@@ -7,10 +7,5 @@ def getRoot(config):
 
 root = getRoot(config)
 
-# Most profiling tests rely on a JIT being present to gather their data; AArch64
-# doesn't have any JIT at present so they will fail when run there.
-if root.host_arch in ['AArch64']:
-    config.unsupported = True
-
 if 'hexagon' in root.target_triple:
     config.unsupported = True
index d38775d90777ece6ff0686039692c1d1010704a9..8272e97c3856f89eba82d63e53eaf0a4a951c2f8 100644 (file)
@@ -160,6 +160,7 @@ config.substitutions.append( ('%lli_mcjit', lli_mcjit) )
 # but simply want use the currently considered most reliable jit for platform
 # FIXME: ppc32 is not ready for mcjit.
 if 'arm' in config.target_triple \
+   or 'aarch64' in config.target_triple \
    or 'powerpc64' in config.target_triple \
    or 's390x' in config.target_triple:
     defaultIsMCJIT = 'true'