diff options
author | Timothy Arceri <[email protected]> | 2018-11-26 12:04:35 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-12-13 10:58:35 +1100 |
commit | c03d6e61cce96238c3c59f6b44cadc8af89a0587 (patch) | |
tree | fd31b44d322f944dbe3907a528181c91761a0023 /src/compiler/nir/nir_loop_analyze.c | |
parent | 48b40380e37aaf5b52d02ad1c748dc1b26c31cbc (diff) |
nir: reword code comment
Reviewed-by: Thomas Helland <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_loop_analyze.c')
-rw-r--r-- | src/compiler/nir/nir_loop_analyze.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |