OSDN Git Service

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 444b7dc..d40fa4f 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 d38775d..8272e97 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'