Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
expand comment
  • Loading branch information
tlively committed Oct 30, 2023
commit 860194173d640e0d208d11e6e5779031d27b4d75
3 changes: 2 additions & 1 deletion src/analysis/lattices/array.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ template<Lattice L, size_t N> struct Array {
return getTopImpl(std::make_index_sequence<N>());
}

// `a` <= `b` if their elements are pairwise <=, etc.
// `a` <= `b` if all their elements are pairwise <=, etc. Unless we determine
// that there is no relation, we must check all the elements.
LatticeComparison compare(const Element& a, const Element& b) const noexcept {
auto result = EQUAL;
for (size_t i = 0; i < N; ++i) {
Expand Down