diff options
Diffstat (limited to 'src/compiler/nir/nir_to_ssa.c')
-rw-r--r-- | src/compiler/nir/nir_to_ssa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_to_ssa.c b/src/compiler/nir/nir_to_ssa.c index 9ffb2fdfd26..6accdd24b3f 100644 --- a/src/compiler/nir/nir_to_ssa.c +++ b/src/compiler/nir/nir_to_ssa.c @@ -88,7 +88,7 @@ insert_phi_nodes(nir_function_impl *impl) w_start = w_end = 0; iter_count++; - nir_foreach_def(reg, dest) { + nir_foreach_def(dest, reg) { nir_instr *def = dest->reg.parent_instr; if (work[def->block->index] < iter_count) W[w_end++] = def->block; |