[llvm] r332337 - [llvm-mca] Remove unused include header files. NFC
Andrea Di Biagio via llvm-commits
llvm-commits at lists.llvm.org
Tue May 15 03:30:39 PDT 2018
Author: adibiagio
Date: Tue May 15 03:30:39 2018
New Revision: 332337
URL: http://llvm.org/viewvc/llvm-project?rev=332337&view=rev
Log:
[llvm-mca] Remove unused include header files. NFC
Also, run clang-format on RetireControlUnit.cpp.
Modified:
llvm/trunk/tools/llvm-mca/RetireControlUnit.cpp
Modified: llvm/trunk/tools/llvm-mca/RetireControlUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/RetireControlUnit.cpp?rev=332337&r1=332336&r2=332337&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/RetireControlUnit.cpp (original)
+++ llvm/trunk/tools/llvm-mca/RetireControlUnit.cpp Tue May 15 03:30:39 2018
@@ -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(con
}
// 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()));
More information about the llvm-commits
mailing list