[llvm-mca] Remove unused include header files. NFC

Also, run clang-format on RetireControlUnit.cpp.

llvm-svn: 332337
This commit is contained in:
Andrea Di Biagio 2018-05-15 10:30:39 +00:00
parent c96ba51a67
commit ee73b51886

View File

@ -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()));