diff --git a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp index f9cd28e6023b4c..9edddd61abdc73 100644 --- a/llvm/lib/Target/RISCV/RISCVISelLowering.cpp +++ b/llvm/lib/Target/RISCV/RISCVISelLowering.cpp @@ -3769,6 +3769,15 @@ SDValue RISCVTargetLowering::getAddr(NodeTy *N, SelectionDAG &DAG, } } +template SDValue RISCVTargetLowering::getAddr( + GlobalAddressSDNode *N, SelectionDAG &DAG, bool IsLocal) const; +template SDValue RISCVTargetLowering::getAddr( + BlockAddressSDNode *N, SelectionDAG &DAG, bool IsLocal) const; +template SDValue RISCVTargetLowering::getAddr( + ConstantPoolSDNode *N, SelectionDAG &DAG, bool IsLocal) const; +template SDValue RISCVTargetLowering::getAddr( + JumpTableSDNode *N, SelectionDAG &DAG, bool IsLocal) const; + SDValue RISCVTargetLowering::lowerGlobalAddress(SDValue Op, SelectionDAG &DAG) const { SDLoc DL(Op);