diff options
Diffstat (limited to 'src/compiler/nir/nir_lower_double_ops.c')
-rw-r--r-- | src/compiler/nir/nir_lower_double_ops.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/compiler/nir/nir_lower_double_ops.c b/src/compiler/nir/nir_lower_double_ops.c index 73226fd62ef..138fddeea5a 100644 --- a/src/compiler/nir/nir_lower_double_ops.c +++ b/src/compiler/nir/nir_lower_double_ops.c @@ -758,11 +758,9 @@ nir_lower_doubles_impl(nir_function_impl *impl, } else if (progress) { nir_metadata_preserve(impl, nir_metadata_block_index | nir_metadata_dominance); - } else { -#ifndef NDEBUG - impl->valid_metadata &= ~nir_metadata_not_properly_reset; -#endif - } + } else { + nir_metadata_preserve(impl, nir_metadata_all); + } return progress; } |