[VE] fastcc and vreg-to-vreg copy
authorSimon Moll <simon.moll@emea.nec.com>
Mon, 16 Nov 2020 15:24:05 +0000 (16:24 +0100)
committerSimon Moll <simon.moll@emea.nec.com>
Mon, 16 Nov 2020 15:24:22 +0000 (16:24 +0100)
commita598c08ac858dd7780aeb8e85a801b48333e0a07
tree3c481a047202a353a952d105f3990381fd30b687
parent4369223ea73c4b8a3fa9a8a84533125c7d0eea98
[VE] fastcc and vreg-to-vreg copy

This defines a 'fastcc' for the VE target and implements vreg-to-vreg
copy for parameter passing.  The 'fastcc' extends the standard CC for
SX-Aurora with register passing of vector-typed parameters and return
values.

Reviewed By: kaz7

Differential Revision: https://reviews.llvm.org/D90842
llvm/lib/Target/VE/VECallingConv.td
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/lib/Target/VE/VEInstrInfo.cpp
llvm/lib/Target/VE/VERegisterInfo.cpp
llvm/test/CodeGen/VE/Vector/fastcc_callee.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/Vector/fastcc_caller.ll [new file with mode: 0644]