summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2018-05-09 17:28:10 +0000
committerDavid Blaikie <dblaikie@gmail.com>2018-05-09 17:28:10 +0000
commit1ca61f6e1dc9cdb775181ade7a2814d1b8c48b56 (patch)
tree0431ed2e90e2bead17f6efaa11e11120b154fd2d
parent176ec8506fd0c18582758ead5e6eb325fa387add (diff)
downloadbcm5719-llvm-1ca61f6e1dc9cdb775181ade7a2814d1b8c48b56.tar.gz
bcm5719-llvm-1ca61f6e1dc9cdb775181ade7a2814d1b8c48b56.zip
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
-rw-r--r--llvm/tools/llvm-mca/RetireControlUnit.cpp2
-rw-r--r--llvm/tools/llvm-mca/RetireControlUnit.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/llvm/tools/llvm-mca/RetireControlUnit.cpp b/llvm/tools/llvm-mca/RetireControlUnit.cpp
index da93c2c11c1..b7590669f71 100644
--- a/llvm/tools/llvm-mca/RetireControlUnit.cpp
+++ b/llvm/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/llvm/tools/llvm-mca/RetireControlUnit.h b/llvm/tools/llvm-mca/RetireControlUnit.h
index 8958755fd6e..f9efed79524 100644
--- a/llvm/tools/llvm-mca/RetireControlUnit.h
+++ b/llvm/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 <algorithm>
+#include <vector>
+
+#include "Instruction.h"
#include "llvm/MC/MCSchedule.h"
namespace mca {
OpenPOWER on IntegriCloud