aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2012-10-30 18:07:58 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2012-10-30 18:07:58 +0000
commitc197a55019e9cf1a2403eaed5854d1091d63319c (patch)
tree4ff9deea9e28593786f1ee6723689d11356980ce
parente0aae5b4f30ce283b7023daf3a41a6bd0e1e117e (diff)
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
-rw-r--r--test/Transforms/LICM/2003-12-11-SinkingToPHI.ll2
-rw-r--r--test/lit.cfg3
2 files changed, 3 insertions, 2 deletions
diff --git a/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll b/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll
index 67c3951d74..fe8d445313 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 7f26cdf03d..76b182747e 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'