[PowerPC][AIX] Enable passing byval formal arguments in multiple registers.
authorSean Fertile <sd.fertile@gmail.com>
Tue, 24 Mar 2020 17:17:22 +0000 (13:17 -0400)
committerSean Fertile <sd.fertile@gmail.com>
Wed, 8 Apr 2020 15:16:33 +0000 (11:16 -0400)
commit8abfd2c3bb0d66a123b6a6ae590a3d0200f7a688
tree268b0cd480602732591f3899d7ac7b03fef878c5
parent5f25d22d3f018f3755eb5a1ee3dc66eef329a6e8
[PowerPC][AIX] Enable passing byval formal arguments in multiple registers.

Any or all the argument registers can be used to pass a byval formal
argument, with the limitation that the argument must fit in the
available registers (ie: is not split between registers and stack).

Differential Revision: https://reviews.llvm.org/D76902
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/aix-cc-byval-split.ll [new file with mode: 0644]
llvm/test/CodeGen/PowerPC/aix-cc-byval.ll