From: Ulrich Weigand Date: Tue, 30 Oct 2012 18:07:58 +0000 (+0000) Subject: Set %defaultjit to use MCJIT for PowerPC targets. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=c197a55019e9cf1a2403eaed5854d1091d63319c;p=oota-llvm.git 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 --- diff --git a/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll b/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll index 67c3951d74e..fe8d4453132 100644 --- a/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll +++ b/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll @@ -1,4 +1,4 @@ -; RUN: opt < %s -licm | lli +; RUN: opt < %s -licm | lli %defaultjit define i32 @main() { entry: diff --git a/test/lit.cfg b/test/lit.cfg index 7f26cdf03d6..76b182747e5 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -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'