Unsupported remote JIT on ARM

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182201 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Renato Golin 2013-05-18 19:42:07 +00:00
parent cb9d4667b7
commit 6d65f333a3
9 changed files with 17 additions and 6 deletions

View File

@ -18,6 +18,9 @@ if root.host_arch not in ['i386', 'x86', 'x86_64',
'AArch64', 'ARM', 'Mips', 'PowerPC', 'SystemZ']:
config.unsupported = True
if 'armv7' in root.host_arch:
config.unsupported = False
if 'i386-apple-darwin' in root.target_triple:
config.unsupported = True

View File

@ -0,0 +1,11 @@
config.suffixes = ['.ll', '.c', '.cpp']
def getRoot(config):
if not config.parent:
return config
return getRoot(config.parent)
root = getRoot(config)
if 'arm' in root.target_triple:
config.unsupported = True

View File

@ -9,4 +9,3 @@ define i32 @main() {
%r = call i32 @bar( ) ; <i32> [#uses=1]
ret i32 %r
}

View File

@ -9,14 +9,14 @@
; int zero_int;
; double zero_double;
; int zero_arr[10];
;
;
; int main()
; {
; zero_arr[zero_int + 5] = 40;
;
;
; if (zero_double < 1.0)
; zero_arr[zero_int + 2] = 70;
;
;
; for (int i = 1; i < 10; ++i) {
; zero_arr[i] = zero_arr[i - 1] + zero_arr[i];
; }

View File

@ -19,4 +19,3 @@ define i32 @main() {
call double @test( double* %X, double 2.000000e+00 ) ; <double>:1 [#uses=0]
ret i32 0
}

View File

@ -14,4 +14,3 @@ entry:
%. = zext i1 %cmp to i32
ret i32 %.
}