We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffd159d commit 08d145eCopy full SHA for 08d145e
llvm/lib/Analysis/IRSimilarityIdentifier.cpp
@@ -466,8 +466,6 @@ static void createCandidatesFromSuffixTree(
466
std::vector<IRSimilarityCandidate> &CandsForRepSubstring) {
467
468
unsigned StringLen = RS.Length;
469
- unsigned NumFound = 0;
470
- unsigned PreviousIdx = 0;
471
472
// Create an IRSimilarityCandidate for instance of this subsequence \p RS.
473
for (const unsigned &StartIdx : RS.StartIndices) {
@@ -488,9 +486,6 @@ static void createCandidatesFromSuffixTree(
488
486
if (ContainsIllegal)
489
487
continue;
490
491
- PreviousIdx = EndIdx;
492
- NumFound++;
493
-
494
// We are getting iterators to the instructions in this region of code
495
// by advancing the start and end indices from the start of the
496
// InstrList.
0 commit comments