Skip to content

Commit

Permalink
[Analysis] Fix a "set but not used" warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kazutakahirata committed Aug 28, 2021
1 parent 16086d4 commit 0003d57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions llvm/lib/Analysis/IRSimilarityIdentifier.cpp
Expand Up @@ -788,6 +788,7 @@ void IRSimilarityCandidate::createCanonicalRelationFrom(
}

assert(Found && "Could not find matching value for source GVN");
(void)Found;

} else
ResultGVN = *GVNMapping.second.begin();
Expand Down

0 comments on commit 0003d57

Please sign in to comment.