nir: Temporarily disable optimizations for MSVC ARM64
authorJesse Natalie <jenatali@microsoft.com>
Fri, 19 Mar 2021 01:46:09 +0000 (18:46 -0700)
committerMarge Bot <eric+marge@anholt.net>
Sun, 21 Mar 2021 21:41:41 +0000 (21:41 +0000)
commit55d153b9f598c77510a483ba768eca2103bf850b
tree7aca85d3e8755a90ee5af46e9e2344a0417bb2db
parent3e68e7f90debb8999a62433084a096195f416a4b
nir: Temporarily disable optimizations for MSVC ARM64

There's currently an MSVC optimizer bug which causes a stack overflow
in the compiler if it attempts to optimize fsat.

Acked-by: Rob Clark <robdclark@chromium.org>
Acked-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9700>
src/compiler/nir/nir_constant_expressions.py