aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/ExecutionEngine/MCJIT/remote/simpletest-remote.ll
blob: 02d450f05fc0673c455b323920ee0b901481b545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: %lli -jit-kind=mcjit -remote-mcjit -mcjit-remote-process=lli-child-target %s > /dev/null
; XFAIL: target={{.*-windows-(gnu|msvc)}}
; REQUIRES: thread_support
; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

define i32 @bar() nounwind {
	ret i32 0
}

define i32 @main() nounwind {
	%r = call i32 @bar( )		; <i32> [#uses=1]
	ret i32 %r
}