[AIX] Implement call lowering with parameters could pass onto GPRs
authorJason Liu <jasonliu.development@gmail.com>
Thu, 6 Jun 2019 14:36:43 +0000 (14:36 +0000)
committerJason Liu <jasonliu.development@gmail.com>
Thu, 6 Jun 2019 14:36:43 +0000 (14:36 +0000)
commit0338b88861d0a5448518a79b30062b061caee516
tree810b09b879929bd3ad0de28ba4611a2be2ebfda5
parent2e4a628c06c42a9265b0acb07721f7edfe2009d4
[AIX] Implement call lowering with parameters could pass onto GPRs

Summary:
This patch implements SDAG call lowering on AIX for functions
which only have parameters that could fit into GPRs.

Reviewers: hubert.reinterpretcast, syzaara

Differential Revision: https://reviews.llvm.org/D62823

llvm-svn: 362708
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
llvm/test/CodeGen/PowerPC/aix_gpr_param.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/test_call_aix.ll