[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)
commita126d1ef3ce7392e236586dbc7389434124e59cb
treed04b80bde2a9514ce6408de1d5d13b60c5158c78
parentec100526e330972937da513b06b7cf12ae258b52
[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>.

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