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/llvm-mca.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/tools/llvm-mca/llvm-mca.cpp') 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(); - P->appendStage(make_unique(S)); + P->appendStage(make_unique(S)); P->appendStage(make_unique(SM)); mca::PipelinePrinter Printer(*P); -- cgit v1.2.3