Set %defaultjit to use MCJIT for PowerPC targets.

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@167031 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Ulrich Weigand 2012-10-30 18:07:58 +00:00
parent e0aae5b4f3
commit c197a55019
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'