nir/lower_double_ops: lower trunc()
[mesa.git] / src / compiler / nir / nir_opt_gcm.c
index a8779ce5b84db5b48d9a364ad8130dd8dc45e5c2..25597ec5bbe2c05ac71f31dd3153c2bca5eab605 100644 (file)
@@ -467,7 +467,7 @@ opt_gcm_impl(nir_function_impl *impl)
                               nir_metadata_dominance);
 
    gcm_build_block_info(&impl->body, &state, 0);
-   nir_foreach_block(impl, gcm_pin_instructions_block, &state);
+   nir_foreach_block_call(impl, gcm_pin_instructions_block, &state);
 
    foreach_list_typed(nir_instr, instr, node, &state.instrs)
       gcm_schedule_early_instr(instr, &state);