summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_lower_idiv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_lower_idiv.c')
-rw-r--r--src/compiler/nir/nir_lower_idiv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_lower_idiv.c b/src/compiler/nir/nir_lower_idiv.c
index a084ad9c0e5..724c0c6eb3d 100644
--- a/src/compiler/nir/nir_lower_idiv.c
+++ b/src/compiler/nir/nir_lower_idiv.c
@@ -136,7 +136,7 @@ convert_impl(nir_function_impl *impl)
nir_builder b;
nir_builder_init(&b, impl);
- nir_foreach_block(impl, convert_block, &b);
+ nir_foreach_block_call(impl, convert_block, &b);
nir_metadata_preserve(impl, nir_metadata_block_index |
nir_metadata_dominance);
}