From 0003d574340e5f010b6587cbec323cc7f47dfb1c Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 28 Aug 2021 06:37:01 -0700 Subject: [PATCH] [Analysis] Fix a "set but not used" warning --- llvm/lib/Analysis/IRSimilarityIdentifier.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Analysis/IRSimilarityIdentifier.cpp b/llvm/lib/Analysis/IRSimilarityIdentifier.cpp index 05fe1d3..99785a3 100644 --- a/llvm/lib/Analysis/IRSimilarityIdentifier.cpp +++ b/llvm/lib/Analysis/IRSimilarityIdentifier.cpp @@ -788,6 +788,7 @@ void IRSimilarityCandidate::createCanonicalRelationFrom( } assert(Found && "Could not find matching value for source GVN"); + (void)Found; } else ResultGVN = *GVNMapping.second.begin(); -- 2.7.4