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
3 changes: 2 additions & 1 deletion llvm/lib/Analysis/HashRecognize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ static bool containsUnreachable(const Loop &L,
}
}
}
return std::distance(Latch->begin(), Latch->end()) != Visited.size();
return static_cast<size_t>(std::distance(Latch->begin(), Latch->end())) !=
Visited.size();
}

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