mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
[llvm-mca] Remove unused include header files. NFC
Also, run clang-format on RetireControlUnit.cpp. llvm-svn: 332337
This commit is contained in:
parent
c96ba51a67
commit
ee73b51886
@ -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()));
|
||||
|
Loading…
Reference in New Issue
Block a user