llvm.org GIT mirror llvm / e038aca
Speculative build fix for const, gcc, and ArrayRef overloads git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216793 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Kleckner 6 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
23342334 static const MCPhysReg GPR64ArgRegsWin64[] = {
23352335 X86::RCX, X86::RDX, X86::R8, X86::R9
23362336 };
2337 return GPR64ArgRegsWin64;
2337 return makeArrayRef(std::begin(GPR64ArgRegsWin64), std::end(GPR64ArgRegsWin64));
23382338 }
23392339
23402340 static const MCPhysReg GPR64ArgRegs64Bit[] = {
23412341 X86::RDI, X86::RSI, X86::RDX, X86::RCX, X86::R8, X86::R9
23422342 };
2343 return GPR64ArgRegs64Bit;
2343 return makeArrayRef(std::begin(GPR64ArgRegs64Bit), std::end(GPR64ArgRegs64Bit));
23442344 }
23452345
23462346 // FIXME: Get this from tablegen.
23712371 X86::XMM0, X86::XMM1, X86::XMM2, X86::XMM3,
23722372 X86::XMM4, X86::XMM5, X86::XMM6, X86::XMM7
23732373 };
2374 return XMMArgRegs64Bit;
2374 return makeArrayRef(std::begin(XMMArgRegs64Bit), std::end(XMMArgRegs64Bit));
23752375 }
23762376
23772377 SDValue