V2: - When guessing trip count in patch 1 check if the induction var is used in more than a single loop and get the smallest array size if so (Suggested by Jason). - A bunch of reviewed patches have been pushed Some piglit tests: https://patchwork.freedesktop.org/series/53712/