From 08c63c1dfe1f53e7b70513de37bc11a704b5911b Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Wed, 9 May 2018 17:28:10 +0000 Subject: [PATCH] llvm-mca: Add missing includes Move the header include in the primary source file to the top to validate that it doesn't depend on any other inclusions. llvm-svn: 331897 --- tools/llvm-mca/RetireControlUnit.cpp | 2 +- tools/llvm-mca/RetireControlUnit.h | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/llvm-mca/RetireControlUnit.cpp b/tools/llvm-mca/RetireControlUnit.cpp index da93c2c11c1..b7590669f71 100644 --- a/tools/llvm-mca/RetireControlUnit.cpp +++ b/tools/llvm-mca/RetireControlUnit.cpp @@ -1,5 +1,5 @@ -#include "Dispatch.h" #include "RetireControlUnit.h" +#include "Dispatch.h" #include "llvm/MC/MCSchedule.h" #include "llvm/Support/Debug.h" diff --git a/tools/llvm-mca/RetireControlUnit.h b/tools/llvm-mca/RetireControlUnit.h index 8958755fd6e..f9efed79524 100644 --- a/tools/llvm-mca/RetireControlUnit.h +++ b/tools/llvm-mca/RetireControlUnit.h @@ -15,6 +15,10 @@ #ifndef LLVM_TOOLS_LLVM_MCA_RETIRE_CONTROL_UNIT_H #define LLVM_TOOLS_LLVM_MCA_RETIRE_CONTROL_UNIT_H +#include +#include + +#include "Instruction.h" #include "llvm/MC/MCSchedule.h" namespace mca {