[Mesa-dev] [PATCH 10/10] nir: add late opt to turn inot/b2f combos back to bcsel

Matt Turner mattst88 at gmail.com
Sat Jan 7 19:13:55 UTC 2017


On Sat, Jan 7, 2017 at 3:58 AM, Timothy Arceri
<timothy.arceri at collabora.com> wrote:
> We turn these from bcsel into inot/b2f combos in order for other
> optimisation passes to get further, once we have finished turn
> the ones that remain and are used in more than a single expression
> back into a bcsel.

Run-on sentence.

>
> On BDW:
>
> total instructions in shared programs: 13060965 -> 13060297 (-0.01%)
> instructions in affected programs: 835701 -> 835033 (-0.08%)
> helped: 670
> HURT: 2

What happened in the two hurt cases?


More information about the mesa-dev mailing list