[llvm] 8ff195c - SIISelLowering.cpp - remove unused variable missed in #123617
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 20 09:19:59 PST 2025
Author: Simon Pilgrim
Date: 2025-01-20T17:19:42Z
New Revision: 8ff195cda1ff5384888e17e8bfdc34990299d3f5
URL: https://github.com/llvm/llvm-project/commit/8ff195cda1ff5384888e17e8bfdc34990299d3f5
DIFF: https://github.com/llvm/llvm-project/commit/8ff195cda1ff5384888e17e8bfdc34990299d3f5.diff
LOG: SIISelLowering.cpp - remove unused variable missed in #123617
Added:
Modified:
llvm/lib/Target/AMDGPU/SIISelLowering.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
index a5ebc908202407..6cf5774fc53b06 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -7817,8 +7817,6 @@ SDValue SITargetLowering::LowerGlobalAddress(AMDGPUMachineFunction *MFI,
SDValue GOTAddr = buildPCRelGlobalAddress(DAG, GV, DL, 0, PtrVT,
SIInstrInfo::MO_GOTPCREL32);
-
- Type *Ty = PtrVT.getTypeForEVT(*DAG.getContext());
PointerType *PtrTy =
PointerType::get(*DAG.getContext(), AMDGPUAS::CONSTANT_ADDRESS);
const DataLayout &DataLayout = DAG.getDataLayout();
More information about the llvm-commits
mailing list