OSDN Git Service

[NFCI][llvm-reduce] OperandBundleCounter: drop pointless constructor
authorRoman Lebedev <lebedev.ri@gmail.com>
Thu, 9 Jul 2020 20:06:30 +0000 (23:06 +0300)
committerRoman Lebedev <lebedev.ri@gmail.com>
Thu, 9 Jul 2020 20:10:42 +0000 (23:10 +0300)
Reviewers: nickdesaulniers, dblaikie

Reviewed By: nickdesaulniers

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83435

llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp

index 3f1cb37..cc2aebf 100644 (file)
@@ -67,8 +67,6 @@ struct OperandBundleCounter : public InstVisitor<OperandBundleCounter> {
   /// How many features (in this case, operand bundles) did we count, total?
   int OperandBundeCount = 0;
 
-  OperandBundleCounter() {}
-
   /// So far only CallBase sub-classes can have operand bundles.
   void visitCallBase(CallBase &Call) {
     // Just accumulate the total number of operand bundles.