nir: Mark negative re-distribution on fadd as imprecise
Otherwise, it would mutate `fneg(fadd(-0, 0))` into `fadd(0, -0)` which isn't correct since -0 + (+0) = +0 + (-0) = +0. This fixes the OpenCL contraction tests on Iris. Reviewed-by:Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <!16041> (cherry picked from commit df1876f6)
Loading
Please register or sign in to comment