mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-26 02:22:29 +00:00
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:
@@ -1,4 +1,4 @@
|
|||||||
; RUN: opt < %s -licm | lli
|
; RUN: opt < %s -licm | lli %defaultjit
|
||||||
|
|
||||||
define i32 @main() {
|
define i32 @main() {
|
||||||
entry:
|
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
|
# 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
|
# 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'
|
defaultIsMCJIT = 'true'
|
||||||
else:
|
else:
|
||||||
defaultIsMCJIT = 'false'
|
defaultIsMCJIT = 'false'
|
||||||
|
|||||||
Reference in New Issue
Block a user