summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir/nir_repair_ssa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_repair_ssa.c')
-rw-r--r--src/compiler/nir/nir_repair_ssa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_repair_ssa.c b/src/compiler/nir/nir_repair_ssa.c
index ac0bce1fb4d..7dd4065e427 100644
--- a/src/compiler/nir/nir_repair_ssa.c
+++ b/src/compiler/nir/nir_repair_ssa.c
@@ -114,7 +114,7 @@ nir_repair_ssa_impl(nir_function_impl *impl)
nir_metadata_dominance);
nir_foreach_block(block, impl) {
- nir_foreach_instr_safe(block, instr) {
+ nir_foreach_instr_safe(instr, block) {
nir_foreach_ssa_def(instr, repair_ssa_def, &state);
}
}