Commit a2a0f9a4 authored by Sanjay Patel's avatar Sanjay Patel
Browse files

[VectorCombine] remove unused debug counter; NFC

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.
parent e8e7cf81
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -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.