From d66f4e472a04b79f13b065eb6b5276545d723c1b Mon Sep 17 00:00:00 2001 From: Andrea Di Biagio Date: Thu, 8 Nov 2018 17:49:30 +0000 Subject: [llvm-mca] PR39261: Rename FetchStage to EntryStage. This fixes PR39261. FetchStage is a misnomer. It causes confusion with the frontend fetch stage, which we don't currently simulate. I decided to rename it into EntryStage mainly because this is meant to be a "source" stage for all pipelines. Differential Revision: https://reviews.llvm.org/D54268 llvm-svn: 346419 --- llvm/tools/llvm-mca/lib/Context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/tools/llvm-mca/lib/Context.cpp') diff --git a/llvm/tools/llvm-mca/lib/Context.cpp b/llvm/tools/llvm-mca/lib/Context.cpp index 5b6f52478dd..6774a57d29b 100644 --- a/llvm/tools/llvm-mca/lib/Context.cpp +++ b/llvm/tools/llvm-mca/lib/Context.cpp @@ -20,8 +20,8 @@ #include "HardwareUnits/RetireControlUnit.h" #include "HardwareUnits/Scheduler.h" #include "Stages/DispatchStage.h" +#include "Stages/EntryStage.h" #include "Stages/ExecuteStage.h" -#include "Stages/FetchStage.h" #include "Stages/RetireStage.h" namespace llvm { @@ -40,7 +40,7 @@ Context::createDefaultPipeline(const PipelineOptions &Opts, InstrBuilder &IB, auto HWS = llvm::make_unique(SM, LSU.get()); // Create the pipeline stages. - auto Fetch = llvm::make_unique(SrcMgr); + auto Fetch = llvm::make_unique(SrcMgr); auto Dispatch = llvm::make_unique(STI, MRI, Opts.DispatchWidth, *RCU, *PRF); auto Execute = llvm::make_unique(*HWS); -- cgit v1.2.3