[llvm] 3e12e83 - [MCA] Removed unused variable.

Patrick Holland via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 13 21:56:29 PDT 2022


Author: Patrick Holland
Date: 2022-03-13T21:55:56-07:00
New Revision: 3e12e83ea4e2b11e95011ebebc3545db5e55503b

URL: https://github.com/llvm/llvm-project/commit/3e12e83ea4e2b11e95011ebebc3545db5e55503b
DIFF: https://github.com/llvm/llvm-project/commit/3e12e83ea4e2b11e95011ebebc3545db5e55503b.diff

LOG: [MCA] Removed unused variable.

Added: 
    

Modified: 
    llvm/lib/MCA/Stages/DispatchStage.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/MCA/Stages/DispatchStage.cpp b/llvm/lib/MCA/Stages/DispatchStage.cpp
index 4078987c0b21c..10e433bf1689d 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;


        


More information about the llvm-commits mailing list