Instead of implementing LowerCallTo directly, let the default impl produce an
authorChris Lattner <sabre@nondot.org>
Tue, 16 May 2006 22:56:08 +0000 (22:56 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 16 May 2006 22:56:08 +0000 (22:56 +0000)
commitabde460d4f4e2fb6a4493b2a938055e48abaf239
treee88bc1ca701d2738c90c8cd0e867159bbcb7fab7
parentf4ec817299a4187044a6162c2f520772b3ad69a0
Instead of implementing LowerCallTo directly, let the default impl produce an
ISD::CALL node, then custom lower that.  This means that we only have to handle
LEGAL call operands/results, not every possible type.  This allows us to
simplify the call code, shrinking it by about 1/3.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28339 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/PPCISelLowering.h