xref: /llvm-project/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll (revision 5950a0623753a629814346ebadabbcda0ca2bdee)
1; RUN: %lli -jit-kind=mcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
2; XFAIL: target={{.*-windows-(gnu|msvc)}}
3; REQUIRES: thread_support
4; UNSUPPORTED: target=powerpc64-unknown-linux-gnu
5; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed
6
7declare i32 @FB()
8
9define i32 @FA() nounwind {
10  ret i32 0
11}
12
13define i32 @main() nounwind {
14  %r = call i32 @FB( )   ; <i32> [#uses=1]
15  ret i32 %r
16}
17