summaryrefslogtreecommitdiff
path: root/src/compiler/nir/nir_lower_int64.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/nir/nir_lower_int64.c')
-rw-r--r--src/compiler/nir/nir_lower_int64.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_lower_int64.c b/src/compiler/nir/nir_lower_int64.c
index 22f69ef4a60..0d7f165b406 100644
--- a/src/compiler/nir/nir_lower_int64.c
+++ b/src/compiler/nir/nir_lower_int64.c
@@ -279,6 +279,9 @@ lower_int64_impl(nir_function_impl *impl, nir_lower_int64_options options)
}
}
+ if (progress)
+ nir_metadata_preserve(impl, nir_metadata_none);
+
return progress;
}