From d9198907a693d8c2210c163c1638d23d50f7ccd5 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Wed, 29 Aug 2018 00:41:04 +0000 Subject: [PATCH] [llvm-mca] Remove unused formal. NFC. llvm-svn: 340888 --- llvm/tools/llvm-mca/include/Stages/DispatchStage.h | 5 ++--- llvm/tools/llvm-mca/lib/Context.cpp | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/llvm/tools/llvm-mca/include/Stages/DispatchStage.h b/llvm/tools/llvm-mca/include/Stages/DispatchStage.h index 8caa002e41f2..02d1de5b8d89 100644 --- a/llvm/tools/llvm-mca/include/Stages/DispatchStage.h +++ b/llvm/tools/llvm-mca/include/Stages/DispatchStage.h @@ -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) {} diff --git a/llvm/tools/llvm-mca/lib/Context.cpp b/llvm/tools/llvm-mca/lib/Context.cpp index d2cb27fecec0..c84ea73c4d2b 100644 --- a/llvm/tools/llvm-mca/lib/Context.cpp +++ b/llvm/tools/llvm-mca/lib/Context.cpp @@ -42,8 +42,8 @@ Context::createDefaultPipeline(const PipelineOptions &Opts, InstrBuilder &IB, // Create the pipeline stages. auto Fetch = llvm::make_unique(IB, SrcMgr); - auto Dispatch = llvm::make_unique( - STI, MRI, Opts.RegisterFileSize, Opts.DispatchWidth, *RCU, *PRF); + auto Dispatch = llvm::make_unique(STI, MRI, Opts.DispatchWidth, + *RCU, *PRF); auto Execute = llvm::make_unique(*HWS); auto Retire = llvm::make_unique(*RCU, *PRF);