[llvm] 3a86931 - AMDGPU: Remove unused variables. NFC
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 29 13:58:03 PST 2022
Author: Benjamin Kramer
Date: 2022-11-29T22:57:00+01:00
New Revision: 3a86931f56a9a1cd96a491119eb30fea76fbf9a7
URL: https://github.com/llvm/llvm-project/commit/3a86931f56a9a1cd96a491119eb30fea76fbf9a7
DIFF: https://github.com/llvm/llvm-project/commit/3a86931f56a9a1cd96a491119eb30fea76fbf9a7.diff
LOG: AMDGPU: Remove unused variables. NFC
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 8f74aaf68caf..d38ae3dee7bf 100644
--- a/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+++ b/llvm/lib/Target/AMDGPU/SIISelLowering.cpp
@@ -1077,11 +1077,6 @@ bool SITargetLowering::getTgtMemIntrinsic(IntrinsicInfo &Info,
return true;
}
case Intrinsic::amdgcn_buffer_atomic_fadd: {
- SIMachineFunctionInfo *MFI = MF.getInfo<SIMachineFunctionInfo>();
-
- const GCNTargetMachine &TM =
- static_cast<const GCNTargetMachine &>(getTargetMachine());
-
Info.opc = ISD::INTRINSIC_W_CHAIN;
Info.memVT = MVT::getVT(CI.getOperand(0)->getType());
Info.fallbackAddressSpace = AMDGPUAS::BUFFER_FAT_POINTER;
More information about the llvm-commits
mailing list