[llvm] d8bf5e8 - [NFCI][llvm-reduce] OperandBundleCounter: drop pointless constructor

Roman Lebedev via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 9 13:11:15 PDT 2020


Author: Roman Lebedev
Date: 2020-07-09T23:10:42+03:00
New Revision: d8bf5e8048dbd1f726d50b43fa4f8ed4fa9a5178

URL: https://github.com/llvm/llvm-project/commit/d8bf5e8048dbd1f726d50b43fa4f8ed4fa9a5178
DIFF: https://github.com/llvm/llvm-project/commit/d8bf5e8048dbd1f726d50b43fa4f8ed4fa9a5178.diff

LOG: [NFCI][llvm-reduce] OperandBundleCounter: drop pointless constructor

Reviewers: nickdesaulniers, dblaikie

Reviewed By: nickdesaulniers

Subscribers: llvm-commits

Tags: #llvm

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

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp b/llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp
index 3f1cb3740813..cc2aebf46df1 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceOperandBundles.cpp
@@ -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.


        


More information about the llvm-commits mailing list