Regression test for b/368984521 where we were mistakenly loop peeling a loop.