summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/lib/Context.cpp
diff options
context:
space:
mode:
authorAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-11-08 17:49:30 +0000
committerAndrea Di Biagio <Andrea_DiBiagio@sn.scee.net>2018-11-08 17:49:30 +0000
commitd66f4e472a04b79f13b065eb6b5276545d723c1b (patch)
treed1a90094fada7f020e48aad1652c589215768060 /llvm/tools/llvm-mca/lib/Context.cpp
parent3c1f4903b77752aa6fb820e32715a824b4e82ead (diff)
downloadbcm5719-llvm-d66f4e472a04b79f13b065eb6b5276545d723c1b.tar.gz
bcm5719-llvm-d66f4e472a04b79f13b065eb6b5276545d723c1b.zip
[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
Diffstat (limited to 'llvm/tools/llvm-mca/lib/Context.cpp')
-rw-r--r--llvm/tools/llvm-mca/lib/Context.cpp4
1 files changed, 2 insertions, 2 deletions
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<Scheduler>(SM, LSU.get());
// Create the pipeline stages.
- auto Fetch = llvm::make_unique<FetchStage>(SrcMgr);
+ auto Fetch = llvm::make_unique<EntryStage>(SrcMgr);
auto Dispatch = llvm::make_unique<DispatchStage>(STI, MRI, Opts.DispatchWidth,
*RCU, *PRF);
auto Execute = llvm::make_unique<ExecuteStage>(*HWS);
OpenPOWER on IntegriCloud