summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mca/llvm-mca.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/llvm-mca.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/llvm-mca.cpp')
-rw-r--r--llvm/tools/llvm-mca/llvm-mca.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/llvm-mca/llvm-mca.cpp b/llvm/tools/llvm-mca/llvm-mca.cpp
index d8bbcb9e660..a105e7c99a2 100644
--- a/llvm/tools/llvm-mca/llvm-mca.cpp
+++ b/llvm/tools/llvm-mca/llvm-mca.cpp
@@ -24,7 +24,7 @@
#include "CodeRegion.h"
#include "CodeRegionGenerator.h"
#include "PipelinePrinter.h"
-#include "Stages/FetchStage.h"
+#include "Stages/EntryStage.h"
#include "Stages/InstructionTables.h"
#include "Views/DispatchStatistics.h"
#include "Views/InstructionInfoView.h"
@@ -434,7 +434,7 @@ int main(int argc, char **argv) {
if (PrintInstructionTables) {
// Create a pipeline, stages, and a printer.
auto P = make_unique<mca::Pipeline>();
- P->appendStage(make_unique<mca::FetchStage>(S));
+ P->appendStage(make_unique<mca::EntryStage>(S));
P->appendStage(make_unique<mca::InstructionTables>(SM));
mca::PipelinePrinter Printer(*P);
OpenPOWER on IntegriCloud