[FastISel][X86] Implement the FastLowerCall hook.
authorJuergen Ributzka <juergen@apple.com>
Tue, 15 Jul 2014 06:35:47 +0000 (06:35 +0000)
committerJuergen Ributzka <juergen@apple.com>
Tue, 15 Jul 2014 06:35:47 +0000 (06:35 +0000)
commit566afe2a15791fd8c3ebfc55ecb24933a7048af6
treed9fb99c4ce454dab453ceccb73aee012ec6ab9d2
parenta107ebd54d18e5f6079cc07b3ffd47129f40770a
[FastISel][X86] Implement the FastLowerCall hook.

This implements the FastLowerCall hook, which is based on the DoSelectCall
function. The implementation is very similar, but the target-independent call
lowering part has been factored out.

This should also enable patchpoint intrinsic lowering for FastISel on X86.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213049 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp