From 7db44294301b1f4597a58b6cea253f196bd1c314 Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Tue, 30 Oct 2012 18:07:58 +0000 Subject: [PATCH] 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 --- llvm/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll | 2 +- llvm/test/lit.cfg | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/llvm/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll b/llvm/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll index 67c3951..fe8d445 100644 --- a/llvm/test/Transforms/LICM/2003-12-11-SinkingToPHI.ll +++ b/llvm/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/llvm/test/lit.cfg b/llvm/test/lit.cfg index 7f26cdf..76b1827 100644 --- a/llvm/test/lit.cfg +++ b/llvm/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' -- 2.7.4