aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/ModuloSchedule.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2025-05-04 00:26:37 -0700
committerGitHub <noreply@github.com>2025-05-04 00:26:37 -0700
commit47f391fd0e1d9ae6a91e625cff5490dd89a8a17e (patch)
tree53edc7ecf969122f6621825546dc4ece529cdfb5 /llvm/lib/CodeGen/ModuloSchedule.cpp
parenta9699a334bc9666570418a3bed9520bcdc21518b (diff)
downloadllvm-47f391fd0e1d9ae6a91e625cff5490dd89a8a17e.zip
llvm-47f391fd0e1d9ae6a91e625cff5490dd89a8a17e.tar.gz
llvm-47f391fd0e1d9ae6a91e625cff5490dd89a8a17e.tar.bz2
[CodeGen] Remove unused local variables (NFC) (#138441)
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
-rw-r--r--llvm/lib/CodeGen/ModuloSchedule.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/ModuloSchedule.cpp b/llvm/lib/CodeGen/ModuloSchedule.cpp
index f028f01..0f742c4 100644
--- a/llvm/lib/CodeGen/ModuloSchedule.cpp
+++ b/llvm/lib/CodeGen/ModuloSchedule.cpp
@@ -887,7 +887,6 @@ void ModuloScheduleExpander::addBranches(MachineBasicBlock &PreheaderBB,
// Start from the blocks connected to the kernel and work "out"
// to the first prolog and the last epilog blocks.
- SmallVector<MachineInstr *, 4> PrevInsts;
unsigned MaxIter = PrologBBs.size() - 1;
for (unsigned i = 0, j = MaxIter; i <= MaxIter; ++i, --j) {
// Add branches to the prolog that go to the corresponding
@@ -2590,7 +2589,6 @@ void ModuloScheduleExpanderMVE::generateKernel(
SmallVector<ValueMapTy> PhiVRMap;
PhiVRMap.resize(NumUnroll);
DenseMap<MachineInstr *, std::pair<int, int>> NewMIMap;
- DenseMap<MachineInstr *, MachineInstr *> MIMapLastStage0;
for (int UnrollNum = 0; UnrollNum < NumUnroll; ++UnrollNum) {
for (MachineInstr *MI : Schedule.getInstructions()) {
if (MI->isPHI())