From: Timothy Arceri Date: Mon, 26 Nov 2018 01:04:35 +0000 (+1100) Subject: nir: reword code comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c03d6e61cce96238c3c59f6b44cadc8af89a0587;p=mesa.git nir: reword code comment Reviewed-by: Thomas Helland --- diff --git a/src/compiler/nir/nir_loop_analyze.c b/src/compiler/nir/nir_loop_analyze.c index 6c06f51c349..4a7397d2149 100644 --- a/src/compiler/nir/nir_loop_analyze.c +++ b/src/compiler/nir/nir_loop_analyze.c @@ -239,8 +239,8 @@ compute_induction_information(loop_info_state *state) nir_foreach_phi_src(src, phi) { nir_loop_variable *src_var = get_loop_var(src->src.ssa, state); - /* If one of the sources is in a conditional or nested block then - * panic. + /* If one of the sources is in an if branch or nested loop then don't + * attempt to go any further. */ if (src_var->in_if_branch || src_var->in_nested_loop) break;