1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

Fix buildbots #2 after aa1eb5152d9a5bd588c8479a376fa65cbeabbc9f.

This commit is contained in:
Alexey Lapshin 2020-05-13 01:20:33 +03:00
parent 198e862a61
commit d1f859e4af

View File

@ -3338,7 +3338,7 @@ public:
CallingConv::ID CallConv, CCState &CCInfo)
: FuncInfo(FuncInfo), DL(Loc), DAG(DAG), Subtarget(Subtarget),
TheMachineFunction(DAG.getMachineFunction()),
Function(TheMachineFunction.getFunction()),
TheFunction(TheMachineFunction.getFunction()),
FrameInfo(TheMachineFunction.getFrameInfo()),
FrameLowering(*Subtarget.getFrameLowering()),
TargLowering(DAG.getTargetLoweringInfo()), CallConv(CallConv),
@ -3360,7 +3360,7 @@ private:
SelectionDAG &DAG;
const X86Subtarget &Subtarget;
MachineFunction &TheMachineFunction;
const Function &Function;
const Function &TheFunction;
MachineFrameInfo &FrameInfo;
const TargetFrameLowering &FrameLowering;
const TargetLowering &TargLowering;
@ -3381,7 +3381,7 @@ void VarArgsLoweringHelper::createVarArgAreaAndStoreRegisters(
// Figure out if XMM registers are in use.
assert(!(Subtarget.useSoftFloat() &&
Function.hasFnAttribute(Attribute::NoImplicitFloat)) &&
TheFunction.hasFnAttribute(Attribute::NoImplicitFloat)) &&
"SSE register cannot be used when SSE is disabled!");
// 64-bit calling conventions support varargs and register parameters, so we