Set %defaultjit to use MCJIT for PowerPC targets.

Update Transforms/LICM/2003-12-11-SinkingToPHI.ll test to use
%defaultjit as well.

llvm-svn: 167031
This commit is contained in:
Ulrich Weigand 2012-10-30 18:07:58 +00:00
parent 4fb310e883
commit 7db4429430
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
; RUN: opt < %s -licm | lli
; RUN: opt < %s -licm | lli %defaultjit
define i32 @main() {
entry:

View 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'