Re: [Mesa-dev] [PATCH] radeonsi: fix a regression in si_eliminate_const_output

2016-10-20 Thread Marek Olšák
On Thu, Oct 20, 2016 at 2:35 PM, Marek Olšák wrote: > Reviewed-by: Marek Olšák > > Is there a way to fold all constant expressions somehow? This is the constant expression: https://people.freedesktop.org/~mareko/cts-nonfp-expression.html No wonder LLVM gave up folding it. Marek ___

Re: [Mesa-dev] [PATCH] radeonsi: fix a regression in si_eliminate_const_output

2016-10-20 Thread Marek Olšák
Reviewed-by: Marek Olšák Is there a way to fold all constant expressions somehow? Marek On Thu, Oct 20, 2016 at 1:09 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > A constant value of float type is not necessarily a ConstantFP: it could also > be a constant expression that for some reas

[Mesa-dev] [PATCH] radeonsi: fix a regression in si_eliminate_const_output

2016-10-20 Thread Nicolai Hähnle
From: Nicolai Hähnle A constant value of float type is not necessarily a ConstantFP: it could also be a constant expression that for some reason hasn't been folded. This fixes a regression in GL45-CTS.arrays_of_arrays_gl.InteractionFunctionCalls2 that was introduced by commit 3ec997d1cc5365