[FastISel][AArch64] Add MachO large code model support for function calls.
authorJuergen Ributzka <juergen@apple.com>
Thu, 31 Jul 2014 04:10:40 +0000 (04:10 +0000)
committerJuergen Ributzka <juergen@apple.com>
Thu, 31 Jul 2014 04:10:40 +0000 (04:10 +0000)
commit052e6c289bef2a5a5070e723a8b727e018959868
tree4d65ac49c66b96e68055d862ed5003bd75fd6767
parentda82bcc4dd55d6da68b348e5f79ddb704bb665c3
[FastISel][AArch64] Add MachO large code model support for function calls.

Currently the large code model for MachO uses the GOT to make function calls.
Emit the required adrp and ldr instructions to load the address from the GOT.

Related to <rdar://problem/17733076>.

llvm-svn: 214381
llvm/lib/Target/AArch64/AArch64FastISel.cpp
llvm/test/CodeGen/AArch64/arm64-fast-isel-call.ll