forked from OSchip/llvm-project
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:
parent
4fb310e883
commit
7db4429430
|
@ -1,4 +1,4 @@
|
|||
; RUN: opt < %s -licm | lli
|
||||
; RUN: opt < %s -licm | lli %defaultjit
|
||||
|
||||
define i32 @main() {
|
||||
entry:
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue