[FastISel][X86] Implement the FastLowerCall hook.
authorJuergen Ributzka <juergen@apple.com>
Tue, 15 Jul 2014 02:22:49 +0000 (02:22 +0000)
committerJuergen Ributzka <juergen@apple.com>
Tue, 15 Jul 2014 02:22:49 +0000 (02:22 +0000)
commit805486c3f9bb1dcef353b613d6d1a4bf57a4f7f0
tree15a0c2e321d84c0ba7d7bff937811a9179d8f66d
parent7a04202ef10e587ce1e605962189c15f00f3b22e
[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@213035 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86FastISel.cpp