@@ -7408,8 +7408,8 @@ static SDValue getTargetNode(JumpTableSDNode *N, const SDLoc &DL, EVT Ty,
7408
7408
return DAG.getTargetJumpTable(N->getIndex(), Ty, Flags);
7409
7409
}
7410
7410
7411
- static SDValue getLargeGlobalAddress(GlobalAddressSDNode *N, SDLoc DL, EVT Ty ,
7412
- SelectionDAG &DAG) {
7411
+ static SDValue getLargeGlobalAddress(GlobalAddressSDNode *N, const SDLoc &DL ,
7412
+ EVT Ty, SelectionDAG &DAG) {
7413
7413
RISCVConstantPoolValue *CPV = RISCVConstantPoolValue::Create(N->getGlobal());
7414
7414
SDValue CPAddr = DAG.getTargetConstantPool(CPV, Ty, Align(8));
7415
7415
SDValue LC = DAG.getNode(RISCVISD::LLA, DL, Ty, CPAddr);
@@ -7418,8 +7418,8 @@ static SDValue getLargeGlobalAddress(GlobalAddressSDNode *N, SDLoc DL, EVT Ty,
7418
7418
MachinePointerInfo::getConstantPool(DAG.getMachineFunction()));
7419
7419
}
7420
7420
7421
- static SDValue getLargeExternalSymbol(ExternalSymbolSDNode *N, SDLoc DL, EVT Ty ,
7422
- SelectionDAG &DAG) {
7421
+ static SDValue getLargeExternalSymbol(ExternalSymbolSDNode *N, const SDLoc &DL ,
7422
+ EVT Ty, SelectionDAG &DAG) {
7423
7423
RISCVConstantPoolValue *CPV =
7424
7424
RISCVConstantPoolValue::Create(*DAG.getContext(), N->getSymbol());
7425
7425
SDValue CPAddr = DAG.getTargetConstantPool(CPV, Ty, Align(8));
0 commit comments