diff options
author | Thomas Hindoe Paaboel Andersen <[email protected]> | 2017-01-09 22:45:57 +0100 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-01-09 17:04:47 -0800 |
commit | 5b4fa21d5309662ab7e8e15e7f20f90bb8ebc944 (patch) | |
tree | a9ffe9431e47118bdb41f6d019f183fec372fcae /src/compiler/nir/nir_from_ssa.c | |
parent | 2bae2fa09446ef3168c82e492223b66a05a85b21 (diff) |
nir: remove duplicated foreach loop
The foreach loop was called both in the else case and right after. The
indentation seems to indicate that the extra call was from a previous
version with an else section with out curly brackets.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir_from_ssa.c')
-rw-r--r-- | src/compiler/nir/nir_from_ssa.c | 1 |
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; |