Skip to content

Commit d0f65ea

Browse files
committed
[RISCV] Remove unused variables. NFC
1 parent 0e8f4ce commit d0f65ea

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

llvm/lib/Target/RISCV/RISCVISelLowering.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3585,10 +3585,8 @@ template SDValue RISCVTargetLowering::getAddr<JumpTableSDNode>(
35853585
SDValue RISCVTargetLowering::lowerGlobalAddress(SDValue Op,
35863586
SelectionDAG &DAG) const {
35873587
SDLoc DL(Op);
3588-
EVT Ty = Op.getValueType();
35893588
GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op);
35903589
assert(N->getOffset() == 0 && "unexpected offset in global node");
3591-
MVT XLenVT = Subtarget.getXLenVT();
35923590

35933591
const GlobalValue *GV = N->getGlobal();
35943592
bool IsLocal = getTargetMachine().shouldAssumeDSOLocal(*GV->getParent(), GV);
@@ -3699,10 +3697,8 @@ SDValue RISCVTargetLowering::getDynamicTLSAddr(GlobalAddressSDNode *N,
36993697
SDValue RISCVTargetLowering::lowerGlobalTLSAddress(SDValue Op,
37003698
SelectionDAG &DAG) const {
37013699
SDLoc DL(Op);
3702-
EVT Ty = Op.getValueType();
37033700
GlobalAddressSDNode *N = cast<GlobalAddressSDNode>(Op);
37043701
assert(N->getOffset() == 0 && "unexpected offset in global node");
3705-
MVT XLenVT = Subtarget.getXLenVT();
37063702

37073703
TLSModel::Model Model = getTargetMachine().getTLSModel(N->getGlobal());
37083704

0 commit comments

Comments
 (0)