forked from OSchip/llvm-project
[RISCV] Remove unused variables. NFC
This commit is contained in:
parent
0e8f4ce31d
commit
d0f65eaa85
|
@ -3585,10 +3585,8 @@ template SDValue RISCVTargetLowering::getAddr<JumpTableSDNode>(
|
|||
SDValue RISCVTargetLowering::lowerGlobalAddress(SDValue Op,
|
||||
SelectionDAG &DAG) const {
|
||||
SDLoc DL(Op);
|
||||
EVT Ty = Op.getValueType();
|
||||
GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op);
|
||||
assert(N->getOffset() == 0 && "unexpected offset in global node");
|
||||
MVT XLenVT = Subtarget.getXLenVT();
|
||||
|
||||
const GlobalValue *GV = N->getGlobal();
|
||||
bool IsLocal = getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV);
|
||||
|
@ -3699,10 +3697,8 @@ SDValue RISCVTargetLowering::getDynamicTLSAddr(GlobalAddressSDNode *N,
|
|||
SDValue RISCVTargetLowering::lowerGlobalTLSAddress(SDValue Op,
|
||||
SelectionDAG &DAG) const {
|
||||
SDLoc DL(Op);
|
||||
EVT Ty = Op.getValueType();
|
||||
GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op);
|
||||
assert(N->getOffset() == 0 && "unexpected offset in global node");
|
||||
MVT XLenVT = Subtarget.getXLenVT();
|
||||
|
||||
TLSModel::Model Model = getTargetMachine().getTLSModel(N->getGlobal());
|
||||
|
||||
|
|
Loading…
Reference in New Issue