[VE] Correct VMP allocation in calling conv
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Fri, 18 Dec 2020 16:12:25 +0000 (01:12 +0900)
committerKazushi (Jam) Marukawa <marukawa@nec.com>
Mon, 21 Dec 2020 13:42:24 +0000 (22:42 +0900)
commit8c2ad9e85f677546021880dc88e24f633ccacd93
tree5c0392e15f32942ce8c177d00fad3a12df3ba08e
parentf25089237376dd43c8c37a18ea9d132f0845eda4
[VE] Correct VMP allocation in calling conv

VE used to allocate VM1, VM2, VMP2 (VM4+VM5), and VM3.  This patch
corrects to allocate VM1, VM2, VMP2 (VM4+VM5), and VM6.  Also add
a regression test.

Reviewed By: simoll

Differential Revision: https://reviews.llvm.org/D93570
llvm/lib/Target/VE/VECallingConv.td
llvm/test/CodeGen/VE/Vector/fastcc_callee.ll