diff options
author | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-05-15 10:30:39 +0000 |
---|---|---|
committer | Andrea Di Biagio <Andrea_DiBiagio@sn.scee.net> | 2018-05-15 10:30:39 +0000 |
commit | 904684cf5c02f9c781ee0310d1daaef0d1193c74 (patch) | |
tree | ec8654c732fb8151248e9b93bf38cd6b679bdfbe /llvm/tools/llvm-mca/RetireControlUnit.cpp | |
parent | 243a3d56d8726ecee55480f9faf6eaa2ec160004 (diff) | |
download | bcm5719-llvm-904684cf5c02f9c781ee0310d1daaef0d1193c74.tar.gz bcm5719-llvm-904684cf5c02f9c781ee0310d1daaef0d1193c74.zip |
[llvm-mca] Remove unused include header files. NFC
Also, run clang-format on RetireControlUnit.cpp.
llvm-svn: 332337
Diffstat (limited to 'llvm/tools/llvm-mca/RetireControlUnit.cpp')
-rw-r--r-- | llvm/tools/llvm-mca/RetireControlUnit.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/tools/llvm-mca/RetireControlUnit.cpp b/llvm/tools/llvm-mca/RetireControlUnit.cpp index 4469da3d603..d28c69b9a48 100644 --- a/llvm/tools/llvm-mca/RetireControlUnit.cpp +++ b/llvm/tools/llvm-mca/RetireControlUnit.cpp @@ -12,10 +12,8 @@ /// //===----------------------------------------------------------------------===// - -#include "RetireControlUnit.h" #include "Dispatch.h" -#include "llvm/MC/MCSchedule.h" +#include "RetireControlUnit.h" #include "llvm/Support/Debug.h" using namespace llvm; @@ -43,7 +41,8 @@ RetireControlUnit::RetireControlUnit(const llvm::MCSchedModel &SM, } // Reserves a number of slots, and returns a new token. -unsigned RetireControlUnit::reserveSlot(const InstRef &IR, unsigned NumMicroOps) { +unsigned RetireControlUnit::reserveSlot(const InstRef &IR, + unsigned NumMicroOps) { assert(isAvailable(NumMicroOps)); unsigned NormalizedQuantity = std::min(NumMicroOps, static_cast<unsigned>(Queue.size())); |