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 <[email protected]>
---
 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

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to