From 3e12e83ea4e2b11e95011ebebc3545db5e55503b Mon Sep 17 00:00:00 2001 From: Patrick Holland Date: Sun, 13 Mar 2022 21:55:13 -0700 Subject: [PATCH] [MCA] Removed unused variable. --- llvm/lib/MCA/Stages/DispatchStage.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/lib/MCA/Stages/DispatchStage.cpp b/llvm/lib/MCA/Stages/DispatchStage.cpp index 4078987c0b21..10e433bf1689 100644 --- a/llvm/lib/MCA/Stages/DispatchStage.cpp +++ b/llvm/lib/MCA/Stages/DispatchStage.cpp @@ -158,7 +158,6 @@ bool DispatchStage::isAvailable(const InstRef &IR) const { const Instruction &Inst = *IR.getInstruction(); unsigned NumMicroOps = Inst.getNumMicroOps(); - const InstrDesc &Desc = Inst.getDesc(); unsigned Required = std::min(NumMicroOps, DispatchWidth); if (Required > AvailableEntries) return false;