[llvm] r340754 - [llvm-mca] Remove unused method. NFC.

Matt Davis via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 27 09:52:31 PDT 2018


Author: mattd
Date: Mon Aug 27 09:52:31 2018
New Revision: 340754

URL: http://llvm.org/viewvc/llvm-project?rev=340754&view=rev
Log:
[llvm-mca] Remove unused method. NFC.

Modified:
    llvm/trunk/tools/llvm-mca/RetireControlUnit.h

Modified: llvm/trunk/tools/llvm-mca/RetireControlUnit.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-mca/RetireControlUnit.h?rev=340754&r1=340753&r2=340754&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-mca/RetireControlUnit.h (original)
+++ llvm/trunk/tools/llvm-mca/RetireControlUnit.h Mon Aug 27 09:52:31 2018
@@ -64,7 +64,6 @@ private:
 public:
   RetireControlUnit(const llvm::MCSchedModel &SM);
 
-  bool isFull() const { return !AvailableSlots; }
   bool isEmpty() const { return AvailableSlots == Queue.size(); }
   bool isAvailable(unsigned Quantity = 1) const {
     // Some instructions may declare a number of uOps which exceeds the size




More information about the llvm-commits mailing list