projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16086d4
)
[Analysis] Fix a "set but not used" warning
author
Kazu Hirata
<kazu@google.com>
Sat, 28 Aug 2021 13:37:01 +0000
(06:37 -0700)
committer
Kazu Hirata
<kazu@google.com>
Sat, 28 Aug 2021 13:37:01 +0000
(06:37 -0700)
llvm/lib/Analysis/IRSimilarityIdentifier.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Analysis/IRSimilarityIdentifier.cpp
b/llvm/lib/Analysis/IRSimilarityIdentifier.cpp
index
05fe1d3
..
99785a3
100644
(file)
--- 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();