diff options
Diffstat (limited to 'src/compiler/nir/nir_lower_vec_to_movs.c')
-rw-r--r-- | src/compiler/nir/nir_lower_vec_to_movs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_lower_vec_to_movs.c b/src/compiler/nir/nir_lower_vec_to_movs.c index eec994f15e5..64b3fb4b421 100644 --- a/src/compiler/nir/nir_lower_vec_to_movs.c +++ b/src/compiler/nir/nir_lower_vec_to_movs.c @@ -295,6 +295,8 @@ nir_lower_vec_to_movs_impl(nir_function_impl *impl) if (progress) { nir_metadata_preserve(impl, nir_metadata_block_index | nir_metadata_dominance); + } else { + nir_metadata_preserve(impl, nir_metadata_all); } return progress; |