[VE][NFC] Refactor to support more than one calling conv
authorSimon Moll <simon.moll@emea.nec.com>
Fri, 6 Nov 2020 13:25:13 +0000 (14:25 +0100)
committerSimon Moll <simon.moll@emea.nec.com>
Fri, 6 Nov 2020 13:25:25 +0000 (14:25 +0100)
commitadc69743d2ca1ed7a3c8be6ac7b67f77ce75bdef
treedb64e087427f137dd15d873a55b0e6368bd6f991
parent08e6903eb4df9db2a88fd1f189c41d1a42908768
[VE][NFC] Refactor to support more than one calling conv

Prepare for supporting  different calling conventions by factoring out
things into CC-dependent selection functions (getParamCC, getReturnCC).

Reviewed By: kaz7

Differential Revision: https://reviews.llvm.org/D90911
llvm/lib/Target/VE/VECallingConv.td
llvm/lib/Target/VE/VEISelLowering.cpp