Skip to content

Commit 2d25beb

Browse files
committed
use size
1 parent 5859523 commit 2d25beb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

llvm/lib/Analysis/HashRecognize.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ static bool containsUnreachable(const Loop &L,
9797
}
9898
}
9999
}
100-
return static_cast<size_t>(std::distance(Latch->begin(), Latch->end())) !=
101-
Visited.size();
100+
return Latch->size() != Visited.size();
102101
}
103102

104103
/// A structure that can hold either a Simple Recurrence or a Conditional

0 commit comments

Comments
 (0)