nir: reword code comment

Reviewed-by: Thomas Helland <thomashelland90@gmail.com>
This commit is contained in:
Timothy Arceri
2018-11-26 12:04:35 +11:00
parent 48b40380e3
commit c03d6e61cc

View File

@@ -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;