[VectorCombine] remove unused debug counter; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 10 Feb 2020 22:49:48 +0000 (17:49 -0500)
committerSanjay Patel <spatel@rotateright.com>
Tue, 11 Feb 2020 13:24:07 +0000 (08:24 -0500)
The variable was added to the initial commit via copy/paste of existing
code, but it wasn't actually used in the code. We can add it back with
the proper usage if/when that is needed.

llvm/lib/Transforms/Vectorize/VectorCombine.cpp

index 378d270..2c69878 100644 (file)
@@ -22,7 +22,6 @@
 #include "llvm/IR/PatternMatch.h"
 #include "llvm/InitializePasses.h"
 #include "llvm/Pass.h"
-#include "llvm/Support/DebugCounter.h"
 #include "llvm/Transforms/Vectorize.h"
 #include "llvm/Transforms/Utils/Local.h"
 
@@ -31,8 +30,6 @@ using namespace llvm::PatternMatch;
 
 #define DEBUG_TYPE "vector-combine"
 STATISTIC(NumVecCmp, "Number of vector compares formed");
-DEBUG_COUNTER(VecCombineCounter, "vector-combine-transform",
-              "Controls transformations in vector-combine pass");
 
 static bool foldExtractCmp(Instruction &I, const TargetTransformInfo &TTI) {
   // Match a cmp with extracted vector operands.