Set %defaultjit to use MCJIT for PowerPC targets.
authorUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 30 Oct 2012 18:07:58 +0000 (18:07 +0000)
committerUlrich Weigand <ulrich.weigand@de.ibm.com>
Tue, 30 Oct 2012 18:07:58 +0000 (18:07 +0000)
Update Transforms/LICM/2003-12-11-SinkingToPHI.ll test to use
%defaultjit as well.

llvm-svn: 167031

llvm/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll
llvm/test/lit.cfg

index 67c3951..fe8d445 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -licm | lli
+; RUN: opt < %s -licm | lli %defaultjit
 
 define i32 @main() {
 entry:
index 7f26cdf..76b1827 100644 (file)
@@ -149,7 +149,8 @@ config.substitutions.append( ('%mcjit_triple', mcjit_triple) )
 
 # Provide a substition for those tests that need to run the jit to obtain data
 # but simply want use the currently considered most reliable jit for platform
-if 'arm' in config.target_triple:
+if 'arm' in config.target_triple \
+   or 'powerpc' in config.target_triple:
     defaultIsMCJIT = 'true'
 else:
     defaultIsMCJIT = 'false'