[Mesa-dev] [PATCH] nir/lower_int64: mark all metadata as dirty
Karol Herbst
kherbst at redhat.com
Mon Jul 16 14:29:44 UTC 2018
without this we might end up looping inside the dominator analysis
infinitly. Hit by some 64 bit int div OpenCL CTS test.
Signed-off-by: Karol Herbst <kherbst at redhat.com>
---
src/compiler/nir/nir_lower_int64.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/compiler/nir/nir_lower_int64.c b/src/compiler/nir/nir_lower_int64.c
index 22f69ef4a60..09eac8cfc05 100644
--- a/src/compiler/nir/nir_lower_int64.c
+++ b/src/compiler/nir/nir_lower_int64.c
@@ -279,6 +279,8 @@ lower_int64_impl(nir_function_impl *impl, nir_lower_int64_options options)
}
}
+ impl->valid_metadata = nir_metadata_none;
+
return progress;
}
--
2.17.1
More information about the mesa-dev
mailing list