[llvm] r340888 - [llvm-mca] Remove unused formal. NFC.

Matt Davis via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 28 17:41:04 PDT 2018


Author: mattd
Date: Tue Aug 28 17:41:04 2018
New Revision: 340888

URL: http://llvm.org/viewvc/llvm-project?rev=340888&view=rev
Log:
[llvm-mca] Remove unused formal. NFC.

Modified:
    llvm/trunk/tools/llvm-mca/include/Stages/DispatchStage.h
    llvm/trunk/tools/llvm-mca/lib/Context.cpp

Modified: llvm/trunk/tools/llvm-mca/include/Stages/DispatchStage.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/include/Stages/DispatchStage.h?rev=340888&r1=340887&r2=340888&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/include/Stages/DispatchStage.h (original)
+++ llvm/trunk/tools/llvm-mca/include/Stages/DispatchStage.h Tue Aug 28 17:41:04 2018
@@ -72,9 +72,8 @@ class DispatchStage final : public Stage
 
 public:
   DispatchStage(const llvm::MCSubtargetInfo &Subtarget,
-                const llvm::MCRegisterInfo &MRI, unsigned RegisterFileSize,
-                unsigned MaxDispatchWidth, RetireControlUnit &R,
-                RegisterFile &F)
+                const llvm::MCRegisterInfo &MRI, unsigned MaxDispatchWidth,
+                RetireControlUnit &R, RegisterFile &F)
       : DispatchWidth(MaxDispatchWidth), AvailableEntries(MaxDispatchWidth),
         CarryOver(0U), STI(Subtarget), RCU(R), PRF(F) {}
 

Modified: llvm/trunk/tools/llvm-mca/lib/Context.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/lib/Context.cpp?rev=340888&r1=340887&r2=340888&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/lib/Context.cpp (original)
+++ llvm/trunk/tools/llvm-mca/lib/Context.cpp Tue Aug 28 17:41:04 2018
@@ -42,8 +42,8 @@ Context::createDefaultPipeline(const Pip
 
   // Create the pipeline stages.
   auto Fetch = llvm::make_unique<FetchStage>(IB, SrcMgr);
-  auto Dispatch = llvm::make_unique<DispatchStage>(
-      STI, MRI, Opts.RegisterFileSize, Opts.DispatchWidth, *RCU, *PRF);
+  auto Dispatch = llvm::make_unique<DispatchStage>(STI, MRI, Opts.DispatchWidth,
+                                                   *RCU, *PRF);
   auto Execute = llvm::make_unique<ExecuteStage>(*HWS);
   auto Retire = llvm::make_unique<RetireStage>(*RCU, *PRF);
 




More information about the llvm-commits mailing list