[FastISel][AArch64] Implement the FastLowerArguments hook.
authorJuergen Ributzka <juergen@apple.com>
Tue, 5 Aug 2014 05:43:48 +0000 (05:43 +0000)
committerJuergen Ributzka <juergen@apple.com>
Tue, 5 Aug 2014 05:43:48 +0000 (05:43 +0000)
commiteee659a0760bc7fda093307019e4fffe5580a4b7
tree2da0eae17a5c10fbc33c1d7dc4c591825327d8e8
parent67397358121a3267681d2ebfc4364bbdb71ec5ce
[FastISel][AArch64] Implement the FastLowerArguments hook.

This implements basic argument lowering for AArch64 in FastISel. It only
handles a small subset of the C calling convention. It supports simple
arguments that can be passed in GPR and FPR registers.

This should cover most of the trivial cases without falling back to
SelectionDAG.

This fixes <rdar://problem/17890986>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214846 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64FastISel.cpp
test/CodeGen/AArch64/arm64-fast-isel-call.ll