[PowerPC] Call support for fast-isel.
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 30 Aug 2013 22:18:55 +0000 (22:18 +0000)
committerBill Schmidt <wschmidt@linux.vnet.ibm.com>
Fri, 30 Aug 2013 22:18:55 +0000 (22:18 +0000)
commit11addd2a2f584571ffcfd51711972b27aef0133f
treeab01eaa8f349f32f53b2a4337e091951d8a20814
parent06f9db01ba294cc0834fe7d6cc8180291822fa43
[PowerPC] Call support for fast-isel.

This patch adds fast-isel support for calls (but not intrinsic calls
or varargs calls).  It also removes a badly-formed assert.  There are
some new tests just for calls, and also for folding loads into
arguments on calls to avoid extra extends.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189701 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCCallingConv.td
lib/Target/PowerPC/PPCFastISel.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/fast-isel-call.ll [new file with mode: 0644]
test/CodeGen/PowerPC/fast-isel-fold.ll