[llvm-mca] Remove unused formal. NFC.

llvm-svn: 340888
This commit is contained in:
Matt Davis 2018-08-29 00:41:04 +00:00
parent 15ecfbf1f6
commit d9198907a6
2 changed files with 4 additions and 5 deletions

View File

@ -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) {}

View File

@ -42,8 +42,8 @@ Context::createDefaultPipeline(const PipelineOptions &Opts, InstrBuilder &IB,
// 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);