summaryrefslogtreecommitdiffstats
path: root/llvm/test/ExecutionEngine/MCJIT/remote/cross-module-a.ll
blob: 550130832828a9989c197336d8047f747c1c657f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: %lli -extra-module=%p/Inputs/cross-module-b.ll -disable-lazy-compilation=true -remote-mcjit -mcjit-remote-process=lli-child-target%exeext %s > /dev/null
; XFAIL: mingw32,win32
; UNSUPPORTED: powerpc64-unknown-linux-gnu
; Remove UNSUPPORTED for powerpc64-unknown-linux-gnu if problem caused by r266663 is fixed

declare i32 @FB()

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

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