Skip to content

Commit 8ff195c

Browse files
committed
SIISelLowering.cpp - remove unused variable missed in #123617
1 parent 19bd2d6 commit 8ff195c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

llvm/lib/Target/AMDGPU/SIISelLowering.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7817,8 +7817,6 @@ SDValue SITargetLowering::LowerGlobalAddress(AMDGPUMachineFunction *MFI,
78177817

78187818
SDValue GOTAddr = buildPCRelGlobalAddress(DAG, GV, DL, 0, PtrVT,
78197819
SIInstrInfo::MO_GOTPCREL32);
7820-
7821-
Type *Ty = PtrVT.getTypeForEVT(*DAG.getContext());
78227820
PointerType *PtrTy =
78237821
PointerType::get(*DAG.getContext(), AMDGPUAS::CONSTANT_ADDRESS);
78247822
const DataLayout &DataLayout = DAG.getDataLayout();

0 commit comments

Comments
 (0)