]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ExecutionEngine/MCJIT/remote/cross-module-sm-pic-a.ll
Vendor import of llvm RELEASE_350/final tag r216957 (effectively, 3.5.0 release):
[FreeBSD/FreeBSD.git] / test / ExecutionEngine / MCJIT / remote / cross-module-sm-pic-a.ll
1 ; RUN: %lli_mcjit -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext -relocation-model=pic -code-model=small %s > /dev/null
2 ; XFAIL: mips, i686, i386, arm
3
4 declare i32 @FB()
5
6 define i32 @FA() {
7   ret i32 0
8 }
9
10 define i32 @main() {
11   %r = call i32 @FB( )   ; <i32> [#uses=1]
12   ret i32 %r
13 }
14