We already supported rewriting loop exit values for multiple exit loops, but if any of the loop exits were not computable, we gave up on all loop exit values. This patch generalizes the existing code to handle individual computable loop exits where possible.
Note to reviewers: This is a real patch, and it can probably land as is, but I'm also open to going and implementing the generalized TODO referenced in the code first. I think it might make sense to land this first, so that there's a means for testing all of the pieces in the generalized part, what do others think?
Unrelated: "not integer" probably supposed to be "not an instruction"?