summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/compiler/nir/nir_from_ssa.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/compiler/nir/nir_from_ssa.c b/src/compiler/nir/nir_from_ssa.c
index 2d8eed50560..a8d3e648974 100644
--- a/src/compiler/nir/nir_from_ssa.c
+++ b/src/compiler/nir/nir_from_ssa.c
@@ -970,7 +970,6 @@ nir_lower_ssa_defs_to_regs_block(nir_block *block)
} else {
nir_foreach_dest(instr, dest_replace_ssa_with_reg, &state);
}
- nir_foreach_dest(instr, dest_replace_ssa_with_reg, &state);
}
return state.progress;