summaryrefslogtreecommitdiff
path: root/src/ir/equivalent_sets.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/equivalent_sets.h')
-rw-r--r--src/ir/equivalent_sets.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ir/equivalent_sets.h b/src/ir/equivalent_sets.h
index fc4b1db3d..657ff9894 100644
--- a/src/ir/equivalent_sets.h
+++ b/src/ir/equivalent_sets.h
@@ -67,8 +67,9 @@ struct EquivalentSets {
// Checks whether two indexes contain the same data.
bool check(Index a, Index b) {
- if (a == b)
+ if (a == b) {
return true;
+ }
if (auto* set = getEquivalents(a)) {
if (set->find(b) != set->end()) {
return true;