[PowerPC] Allow spilling GPR to VSR on AIX
authorQiu Chaofan <qiucofan@cn.ibm.com>
Wed, 3 Mar 2021 05:32:39 +0000 (13:32 +0800)
committerQiu Chaofan <qiucofan@cn.ibm.com>
Wed, 3 Mar 2021 05:32:39 +0000 (13:32 +0800)
commit72d4a41ba622bd3a653db2cd9bf314ad83caf032
tree9d4347566dcd06ac25a4a058909e3464fb29bd36
parent543b901e581b732225db4277a8e995ac8dde62b7
[PowerPC] Allow spilling GPR to VSR on AIX

This patch enables spilling GPR to VSRs instead of stack under AIX ABI.

Reviewed By: nemanjai

Differential Revision: https://reviews.llvm.org/D97367
llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
llvm/test/CodeGen/PowerPC/gpr-vsr-spill.ll