mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-01 00:17:01 +00:00
Target: remove old constructors for CallLoweringInfo
This is mostly a mechanical change changing all the call sites to the newer chained-function construction pattern. This removes the horrible 15-parameter constructor for the CallLoweringInfo in favour of setting properties of the call via chained functions. No functional change beyond the removal of the old constructors are intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@209082 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -2229,11 +2229,11 @@ AArch64TargetLowering::LowerF128ToCall(SDValue Op, SelectionDAG &DAG,
|
||||
if (isTailCall)
|
||||
InChain = TCChain;
|
||||
|
||||
TargetLowering::
|
||||
CallLoweringInfo CLI(InChain, RetTy, false, false, false, false,
|
||||
0, getLibcallCallingConv(Call), isTailCall,
|
||||
/*doesNotReturn=*/false, /*isReturnValueUsed=*/true,
|
||||
Callee, Args, DAG, SDLoc(Op));
|
||||
TargetLowering::CallLoweringInfo CLI(DAG);
|
||||
CLI.setDebugLoc(SDLoc(Op)).setChain(InChain)
|
||||
.setCallee(getLibcallCallingConv(Call), RetTy, Callee, &Args, 0)
|
||||
.setTailCall(isTailCall);
|
||||
|
||||
std::pair<SDValue, SDValue> CallInfo = LowerCallTo(CLI);
|
||||
|
||||
if (!CallInfo.second.getNode())
|
||||
|
||||
Reference in New Issue
Block a user