nir: Fix breaking in nir_foreach_phi(_safe)
When I reading through some of my older commits I noticed that break
in
nir_foreach_phi
is broken because I used the two-loop trick wrong. Rewrite the
macros to fix this, and also to generally be a lot cleaner.
Fixes: 7dc297cc ("nir: Add nir_foreach_phi(_safe) macro") Signed-off-by: Alyssa Rosenzweig alyssa@rosenzweig.io