5c9495cf37
The only role of the while_icmp at the end of a NIR loop is to make continue jumps work. If, after emitting the loop, we learn that there are no continues, there is no need to insert a while_icmp since it would be a no-op anyway. total instructions in shared programs: 1764311 -> 1764199 (<.01%) instructions in affected programs: 26321 -> 26209 (-0.43%) helped: 82 HURT: 0 Instructions are helped. total bytes in shared programs: 11609978 -> 11609306 (<.01%) bytes in affected programs: 178842 -> 178170 (-0.38%) helped: 82 HURT: 0 Bytes are helped. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25052>