[llvm] 45eeb8c - [AMDGPU] Remove unused variable introduced in r251860
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 05:38:49 PDT 2020
Author: Jay Foad
Date: 2020-08-27T13:28:32+01:00
New Revision: 45eeb8c2a937ee5179754d3d14e10e3425d2b538
URL: https://github.com/llvm/llvm-project/commit/45eeb8c2a937ee5179754d3d14e10e3425d2b538
DIFF: https://github.com/llvm/llvm-project/commit/45eeb8c2a937ee5179754d3d14e10e3425d2b538.diff
LOG: [AMDGPU] Remove unused variable introduced in r251860
Added:
Modified:
llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp b/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
index 7b5dd5ea43de..775cec6904a4 100644
--- a/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
+++ b/llvm/lib/Target/AMDGPU/SIFixSGPRCopies.cpp
@@ -596,8 +596,6 @@ bool SIFixSGPRCopies::runOnMachineFunction(MachineFunction &MF) {
TII = ST.getInstrInfo();
MDT = &getAnalysis<MachineDominatorTree>();
- SmallVector<MachineInstr *, 16> Worklist;
-
for (MachineFunction::iterator BI = MF.begin(), BE = MF.end();
BI != BE; ++BI) {
MachineBasicBlock &MBB = *BI;
More information about the llvm-commits
mailing list