llvm.org GIT mirror llvm / c934c63
[X86] Vectorcall Calling Convention - Adding CodeGen Complete Support Fixing build issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290244 91177308-0d34-0410-b5e6-96231b3b80d8 Oren Ben Simhon 3 years ago
1 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
6161 if (ValVT.is512BitVector()) {
6262 static const MCPhysReg RegListZMM[] = {X86::ZMM0, X86::ZMM1, X86::ZMM2,
6363 X86::ZMM3, X86::ZMM4, X86::ZMM5};
64 return RegListZMM;
64 return makeArrayRef(std::begin(RegListZMM), std::end(RegListZMM));
6565 }
6666
6767 if (ValVT.is256BitVector()) {
6868 static const MCPhysReg RegListYMM[] = {X86::YMM0, X86::YMM1, X86::YMM2,
6969 X86::YMM3, X86::YMM4, X86::YMM5};
70 return RegListYMM;
70 return makeArrayRef(std::begin(RegListYMM), std::end(RegListYMM));
7171 }
7272
7373 static const MCPhysReg RegListXMM[] = {X86::XMM0, X86::XMM1, X86::XMM2,
7474 X86::XMM3, X86::XMM4, X86::XMM5};
75 return RegListXMM;
75 return makeArrayRef(std::begin(RegListXMM), std::end(RegListXMM));
7676 }
7777
7878 static ArrayRef CC_X86_64_VectorCallGetGPRs() {
7979 static const MCPhysReg RegListGPR[] = {X86::RCX, X86::RDX, X86::R8, X86::R9};
80 return RegListGPR;
80 return makeArrayRef(std::begin(RegListGPR), std::end(RegListGPR));
8181 }
8282
8383 static bool CC_X86_VectorCallAssignRegister(unsigned &ValNo, MVT &ValVT,