Re: [Mesa-dev] [PATCH] i965: Don't emit an empty then-branch

2016-02-24 Thread Francisco Jerez
Ian Romanick writes: > From: Ian Romanick > > Invert the condition and just emit the non-empty else-branch. > > total instructions in shared programs: 8448571 -> 8448373 (-0.00%) > instructions in affected programs: 20880 -> 20682 (-0.95%) > helped: 114 > HURT: 0 > > Jason suggested that there w

[Mesa-dev] [PATCH] i965: Don't emit an empty then-branch

2016-02-24 Thread Ian Romanick
From: Ian Romanick Invert the condition and just emit the non-empty else-branch. total instructions in shared programs: 8448571 -> 8448373 (-0.00%) instructions in affected programs: 20880 -> 20682 (-0.95%) helped: 114 HURT: 0 Jason suggested that there were several places that tried to determi